@@ -471,8 +471,9 @@ def cboProfile_index_changed(self, widget, index):
471
471
472
472
# Load the interlaced options
473
473
self .cboInterlaced .clear ()
474
- self .cboInterlaced .addItem (_ ("Yes" ), "Yes" )
474
+ self .cboInterlaced .addItem (_ ("Yes Top field first " ), "Yes" )
475
475
self .cboInterlaced .addItem (_ ("No" ), "No" )
476
+ self .cboInterlaced .addItem (_ ("Yes Bottom field first" ), "Yes" )
476
477
if profile .info .interlaced_frame :
477
478
self .cboInterlaced .setCurrentIndex (0 )
478
479
else :
@@ -797,6 +798,7 @@ def accept(self):
797
798
return
798
799
799
800
# Init export settings
801
+ interlacedIndex = self .cboInterlaced .currentIndex ()
800
802
video_settings = { "vformat" : self .txtVideoFormat .text (),
801
803
"vcodec" : self .txtVideoCodec .text (),
802
804
"fps" : { "num" : self .txtFrameRateNum .value (), "den" : self .txtFrameRateDen .value ()},
@@ -806,8 +808,8 @@ def accept(self):
806
808
"video_bitrate" : int (self .convert_to_bytes (self .txtVideoBitRate .text ())),
807
809
"start_frame" : self .txtStartFrame .value (),
808
810
"end_frame" : self .txtEndFrame .value (),
809
- "interlace" : self . cboInterlaced . currentIndex () == 0 ,
810
- "topfirst" : self . cboInterlaced . currentIndex () == 0
811
+ "interlace" : (( interlacedIndex == 0 ) or ( interlacedIndex == 2 )) ,
812
+ "topfirst" : interlacedIndex == 0
811
813
}
812
814
813
815
audio_settings = {"acodec" : self .txtAudioCodec .text (),
0 commit comments