]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.cpp
webcam capture: Try to get webcam name instead of displaying /dev/video0
[kdenlive] / src / stopmotion / stopmotion.cpp
index d6d6786df7735a1f5b5b49f86a6c21c08679e0c5..40372969d94991eec4348dbe7c7491428d5aae45 100644 (file)
@@ -182,7 +182,7 @@ StopmotionWidget::StopmotionWidget(KUrl projectFolder, QWidget *parent) :
     }
     if (QFile::exists(KdenliveSettings::video4vdevice())) {
         if (m_bmCapture == NULL) m_bmCapture = new V4lCaptureHandler(m_layout);
-        capture_device->addItem(KdenliveSettings::video4vdevice(), "v4l");
+        capture_device->addItem(m_bmCapture->getDeviceName(KdenliveSettings::video4vdevice()), "v4l");
     }
 
     connect(m_bmCapture, SIGNAL(frameSaved(const QString)), this, SLOT(slotNewThumb(const QString)));