***************************************************************************/
#include "stopmotion.h"
-#ifdef USE_BLACKMAGIC
-#include "blackmagic/devices.h"
-#endif
#ifdef USE_V4L
#include "v4l/v4lcapture.h"
#endif
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
//dir.setNameFilters(filters);
QStringList sequences = dir.entryList(filters, QDir::Files, QDir::Name);
//kDebug()<<"PF: "<<<<", sm: "<<sequences;
- foreach(QString sequencename, sequences) {
+ foreach(const QString &sequencename, sequences) {
sequence_name->addItem(sequencename.section('_', 0, -2));
}
}