X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fstopmotion%2Fstopmotion.cpp;h=136273cd039762ae66fc548f273f5b2e5bea1dfb;hb=a9295ac42ebb309a9a71f6cb0ce7fd4125c864ab;hp=e6bf6afb6e484b65d281ff382b697a0071bdc3bf;hpb=16611ad3a8509ed171f27a0301d7a7730448a4a8;p=kdenlive diff --git a/src/stopmotion/stopmotion.cpp b/src/stopmotion/stopmotion.cpp index e6bf6afb..136273cd 100644 --- a/src/stopmotion/stopmotion.cpp +++ b/src/stopmotion/stopmotion.cpp @@ -17,7 +17,7 @@ #include "stopmotion.h" #include "../blackmagic/devices.h" -#if !defined(Q_OS_FREEBSD) +#if !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD) #include "../v4l/v4lcapture.h" #endif #include "../slideshowclip.h" @@ -257,7 +257,7 @@ StopmotionWidget::StopmotionWidget(MonitorManager *manager, KUrl projectFolder, // Found a BlackMagic device } if (QFile::exists(KdenliveSettings::video4vdevice())) { -#if !defined(Q_WS_MAC) && !defined(Q_OS_FREEBSD) +#if !defined(Q_WS_MAC) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD) // Video 4 Linux device detection for (int i = 0; i < 10; i++) { QString path = "/dev/video" + QString::number(i); @@ -400,7 +400,7 @@ void StopmotionWidget::slotUpdateDeviceHandler() } m_layout->removeWidget(m_frame_preview); if (data == "v4l") { -#if !defined(Q_WS_MAC) && !defined(Q_OS_FREEBSD) +#if !defined(Q_WS_MAC) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD) m_bmCapture = new V4lCaptureHandler(m_layout); m_bmCapture->setDevice(capture_device->itemData(capture_device->currentIndex(), Qt::UserRole + 1).toString(), capture_device->itemData(capture_device->currentIndex(), Qt::UserRole + 2).toString()); #endif