added UI for VBR and noise object

This commit is contained in:
itsmattkc
2018-09-18 21:56:38 +10:00
parent a267693213
commit 152a2662ec
6 changed files with 48 additions and 3 deletions
+6
View File
@@ -515,3 +515,9 @@ void ExportDialog::on_renderCancel_clicked() {
et->continueEncode = false;
cancelled = true;
}
void ExportDialog::on_vcodecCombobox_currentIndexChanged(int index) {
bool vbrEnabled = (format_vcodecs.size() > 0 && format_vcodecs.at(index) == AV_CODEC_ID_H264);
ui->compressionTypeCombobox->setEnabled(vbrEnabled);
if (!vbrEnabled) ui->compressionTypeCombobox->setCurrentIndex(0);
}