@@ -471,13 +471,13 @@ 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 Top field first" ), "Yes" )
475
474
self .cboInterlaced .addItem (_ ("No" ), "No" )
475
+ self .cboInterlaced .addItem (_ ("Yes Top field first" ), "Yes" )
476
476
self .cboInterlaced .addItem (_ ("Yes Bottom field first" ), "Yes" )
477
477
if profile .info .interlaced_frame :
478
- self .cboInterlaced .setCurrentIndex (0 )
479
- else :
480
478
self .cboInterlaced .setCurrentIndex (1 )
479
+ else :
480
+ self .cboInterlaced .setCurrentIndex (0 )
481
481
482
482
def cboSimpleTarget_index_changed (self , widget , index ):
483
483
selected_target = widget .itemData (index )
@@ -808,8 +808,8 @@ def accept(self):
808
808
"video_bitrate" : int (self .convert_to_bytes (self .txtVideoBitRate .text ())),
809
809
"start_frame" : self .txtStartFrame .value (),
810
810
"end_frame" : self .txtEndFrame .value (),
811
- "interlace" : ((interlacedIndex == 0 ) or (interlacedIndex == 2 )),
812
- "topfirst" : interlacedIndex == 0
811
+ "interlace" : ((interlacedIndex == 1 ) or (interlacedIndex == 2 )),
812
+ "topfirst" : interlacedIndex == 1
813
813
}
814
814
815
815
audio_settings = {"acodec" : self .txtAudioCodec .text (),
0 commit comments