]> git.sesse.net Git - kdenlive/blobdiff - src/v4l/v4lcapture.h
Stopmotion widget: Improved webcam support, taken from the fswebcam project
[kdenlive] / src / v4l / v4lcapture.h
index 464bfa592d7c07c4ac6f65bb957b4ac3075b0668..80ed0d4ea5457575635b8437fc374a651f350aa2 100644 (file)
@@ -45,12 +45,17 @@ public:
     void hideOverlay();
     void hidePreview(bool hide);
     QStringList getDeviceName(QString input);
+    /** @brief Sets the path to the capture devide and optionnaly the width / height of the capture. */
+    void setDevice(const QString input, QString size = QString());
 
 private:
     bool m_update;
     MyDisplay *m_display;
     QString m_captureFramePath;
     QImage m_overlayImage;
+    QString m_device;
+    int m_width;
+    int m_height;
 
 private slots:
     void slotUpdate();