Commit 7481b6ea authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix error preventing setting an interlaced default project profile

CCBUG: 372588
parent 64027bb0
......@@ -353,17 +353,7 @@ void ProfileWidget::checkInterlace(QList <MltVideoProfile> currentStd, const QSt
allowInterlaced = true;
}
m_interlaced->setChecked(!m_currentProfile.progressive);
if (allowInterlaced && allowProgressive) {
m_interlaced->setEnabled(true);
m_interlaced->setChecked(false);
} else {
m_interlaced->setEnabled(false);
if (m_interlaced->isChecked() && !allowInterlaced) {
m_interlaced->setChecked(false);
} else if (!m_interlaced->isChecked() && !allowProgressive) {
m_interlaced->setChecked(true);
}
}
m_interlaced->setEnabled(allowInterlaced && allowProgressive);
}
ProfileWidget::VIDEOSTD ProfileWidget::getStandard(MltVideoProfile profile)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment