Bug: qt4 version x264 dialog does not initialize mode=COMPRESS_CQ

Started by ajschult, December 16, 2012, 02:56:08 AM

Previous topic - Next topic

ajschult

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.

mean