Bug: "Secondary" box greyed out for DTS Express 24bit ()

This commit is contained in:
jcdr428 2020-02-04 19:16:34 +02:00 committed by GitHub
parent 7740bd5009
commit b8d9788b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -874,6 +874,7 @@ void TsMuxerWindow::trackLVItemSelectionChanged()
ui->dtsDwnConvert->setEnabled(codecInfo->displayName == "DTS-HD" || codecInfo->displayName == "TRUE-HD" ||
codecInfo->displayName == "E-AC3 (DD+)");
ui->secondaryCheckBox->setEnabled(codecInfo->descr.contains("(DTS Express)") ||
codecInfo->descr.contains("(DTS Express 24bit)") ||
codecInfo->displayName == "E-AC3 (DD+)");
if (!ui->secondaryCheckBox->isEnabled())