Skip to content

Commit 3dfb076

Browse files
committed
Fix turning on DeckLink monitor from automatic video mode
DeckLink needs a profile, and this is changing profile; so it needs reload instead of reconfigure consumer and restart.
1 parent 1885e10 commit 3dfb076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mainwindow.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4411,10 +4411,11 @@ void MainWindow::onExternalTriggered(QAction *action)
44114411

44124412
// Automatic not permitted for SDI/HDMI
44134413
if (isExternal && profile.isEmpty()) {
4414+
auto xml = MLT.XML();
44144415
profile = "atsc_720p_50";
44154416
Settings.setPlayerProfile(profile);
44164417
setProfile(profile);
4417-
MLT.consumerChanged();
4418+
MLT.reload(xml);
44184419
foreach (QAction *a, m_profileGroup->actions()) {
44194420
if (a->data() == profile) {
44204421
a->setChecked(true);

0 commit comments

Comments
 (0)