spec/ffmpeg/encoding_options_spec.rb in streamio-ffmpeg-0.7.1 vs spec/ffmpeg/encoding_options_spec.rb in streamio-ffmpeg-0.7.2

- old
+ new

@@ -88,9 +88,13 @@ it "should convert threads" do EncodingOptions.new(:threads => 2).to_s.should == "-threads 2" end + it "should convert duration" do + EncodingOptions.new(:duration => 30).to_s.should == "-t 30" + end + it "should convert video preset" do EncodingOptions.new(:video_preset => "max").to_s.should == "-vpre max" end it "should convert audio preset" do