Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: ajschult on December 16, 2012, 02:56:08 AM

Title: Bug: qt4 version x264 dialog does not initialize mode=COMPRESS_CQ
Post by: ajschult on December 16, 2012, 02:56:08 AM
With the qt4 version of the x264 encoder, if you set the encoding mode to "Constant Rate Factor (Single Pass)", close the dialog (OK) and reopen, you'll find that it's set to "Video Size (Two Pass)"

Q_x264.cpp needs


@@ -224,7 +224,7 @@ bool x264Dialog::upload(void)
                             break;

             case COMPRESS_CQ:
-                            encodingModeComboBox_currentIndexChanged(1);
+                            ui.encodingModeComboBox->setCurrentIndex(1);
                             ui.quantiserSpinBox->setValue(ENCODING(qz));
                             break;



The only thing more embarassing than this bug is how long it took me to recognize what was wrong.
Title: Re: Bug: qt4 version x264 dialog does not initialize mode=COMPRESS_CQ
Post by: mean on December 19, 2012, 06:40:52 AM
Committed, thanks