lib/ffmpeg/transcoder.rb in streamio-ffmpeg-2.1.0 vs lib/ffmpeg/transcoder.rb in streamio-ffmpeg-3.0.0

- old
+ new

@@ -20,10 +20,10 @@ if options.is_a?(Array) || options.is_a?(EncodingOptions) @raw_options = options elsif options.is_a?(Hash) @raw_options = EncodingOptions.new(options) else - raise ArgumentError, "Unknown options format '#{options.class}', should be either EncodingOptions, Hash or String." + raise ArgumentError, "Unknown options format '#{options.class}', should be either EncodingOptions, Hash or Array." end @transcoder_options = transcoder_options @errors = []