]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.cpp
* Update MLT capture to use the new multi consumer for preview
[kdenlive] / src / stopmotion / stopmotion.cpp
index f3251fa68306078c26fa9a8a132928e4fa956507..80e807d8684cb3fb85e38b80152ee4f7aaf17eed 100644 (file)
@@ -16,7 +16,9 @@
  ***************************************************************************/
 
 #include "stopmotion.h"
+#ifdef USE_BLACKMAGIC
 #include "blackmagic/devices.h"
+#endif
 #ifdef USE_V4L
 #include "v4l/v4lcapture.h"
 #endif
@@ -251,10 +253,11 @@ StopmotionWidget::StopmotionWidget(MonitorManager *manager, KUrl projectFolder,
     m_videoBox->setLineWidth(4);
     layout->addWidget(m_videoBox);
 
-
+#ifdef USE_BLACKMAGIC
     if (BMInterface::getBlackMagicDeviceList(capture_device)) {
         // Found a BlackMagic device
     }
+#endif
     if (QFile::exists(KdenliveSettings::video4vdevice())) {
 #ifdef USE_V4L
         // Video 4 Linux device detection