File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -805,7 +805,9 @@ def accept(self):
805
805
"pixel_ratio" : {"num" : self .txtPixelRatioNum .value (), "den" : self .txtPixelRatioDen .value ()},
806
806
"video_bitrate" : int (self .convert_to_bytes (self .txtVideoBitRate .text ())),
807
807
"start_frame" : self .txtStartFrame .value (),
808
- "end_frame" : self .txtEndFrame .value ()
808
+ "end_frame" : self .txtEndFrame .value (),
809
+ "interlace" : self .cboInterlaced .currentIndex () == 0 ,
810
+ "topfirst" : self .cboInterlaced .currentIndex () == 0
809
811
}
810
812
811
813
audio_settings = {"acodec" : self .txtAudioCodec .text (),
@@ -861,8 +863,8 @@ def accept(self):
861
863
video_settings .get ("height" ),
862
864
openshot .Fraction (video_settings .get ("pixel_ratio" ).get ("num" ),
863
865
video_settings .get ("pixel_ratio" ).get ("den" )),
864
- False ,
865
- False ,
866
+ video_settings . get ( "interlace" ) ,
867
+ video_settings . get ( "topfirst" ) ,
866
868
video_settings .get ("video_bitrate" ))
867
869
868
870
# Set audio options
You can’t perform that action at this time.
0 commit comments