]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivesettingsdialog.cpp
First steps to support MLT's new Blackmagic's consumer (means external video display...
[kdenlive] / src / kdenlivesettingsdialog.cpp
index e997fa76fab527a423d20a99c4f663667a64f854..86624d5503697592f6d87df490834853838be133 100644 (file)
@@ -187,6 +187,10 @@ KdenliveSettingsDialog::KdenliveSettingsDialog(QWidget * parent) :
     BMInterface::getBlackMagicDeviceList(m_configCapture.kcfg_hdmi_capturedevice, m_configCapture.kcfg_hdmi_capturemode);
     connect(m_configCapture.kcfg_hdmi_capturedevice, SIGNAL(currentIndexChanged(int)), this, SLOT(slotUpdateHDMIModes()));
 
+    if (BMInterface::getBlackMagicOutputDeviceList(m_configSdl.kcfg_blackmagic_output_device)) {
+        // Found blackmagic card
+    } else m_configSdl.kcfg_external_display->setEnabled(false);
+
     double dvgrabVersion = 0;
     if (!KdenliveSettings::dvgrab_path().isEmpty()) {
         QProcess *versionCheck = new QProcess;