]> git.sesse.net Git - kdenlive/blobdiff - src/wizard.cpp
Fix build on OSX by not using new V4LCaptureHandler.
[kdenlive] / src / wizard.cpp
index c88f9a01a143538e95035b75ed6b7e14ab073bb4..edec09dc66353d830e95fc44fced9923235f5b50 100644 (file)
@@ -148,6 +148,7 @@ void Wizard::slotDetectWebcam()
 {
     m_capture.device_list->clear();
 
+#ifndef Q_WS_MAC
     // Video 4 Linux device detection
     V4lCaptureHandler v4l(NULL);
     for (int i = 0; i < 10; i++) {
@@ -175,6 +176,7 @@ void Wizard::slotDetectWebcam()
         }
         if (!found) m_capture.device_list->setCurrentItem(m_capture.device_list->topLevelItem(0));
     } else m_capture.v4l_status->setText(i18n("No device found, plug your webcam and refresh."));
+#endif
 }
 
 void Wizard::slotUpdateCaptureParameters()