X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fstopmotion%2Fstopmotion.cpp;h=b937eff3dbdd605a8b8b93dece083131b63ee7f3;hb=bddf7dbd05d7a0c980934baa9caa71b991b92b2a;hp=dc6c7b6e48c0ccc785db7b1a2ba0397cf5ecdebf;hpb=464c319bc0c7916060fe5f1d425136e257e70ecd;p=kdenlive diff --git a/src/stopmotion/stopmotion.cpp b/src/stopmotion/stopmotion.cpp index dc6c7b6e..b937eff3 100644 --- a/src/stopmotion/stopmotion.cpp +++ b/src/stopmotion/stopmotion.cpp @@ -16,9 +16,6 @@ ***************************************************************************/ #include "stopmotion.h" -#ifdef USE_BLACKMAGIC -#include "blackmagic/devices.h" -#endif #ifdef USE_V4L #include "v4l/v4lcapture.h" #endif @@ -262,11 +259,10 @@ StopmotionWidget::StopmotionWidget(MonitorManager *manager, KUrl projectFolder, m_monitor->videoBox->setLineWidth(4); layout->addWidget(m_monitor->videoBox); -#ifdef USE_BLACKMAGIC - if (BMInterface::getBlackMagicDeviceList(capture_device)) { + if (KdenliveSettings::decklink_device_found()) { // Found a BlackMagic device } -#endif + if (QFile::exists(KdenliveSettings::video4vdevice())) { #ifdef USE_V4L // Video 4 Linux device detection