]> git.sesse.net Git - kdenlive/blobdiff - src/recmonitor.h
Required changes to make Kdenlive work with some locales that have a comma (,) as...
[kdenlive] / src / recmonitor.h
index d8de070ebd581e6071584e843caddf1d62b03b6a..d9bd734cb73f0fa3a3febb9c0087dc0d10855faf 100644 (file)
@@ -27,7 +27,6 @@
 #define RECMONITOR_H
 
 #include "abstractmonitor.h"
-#include "blackmagic/capture.h"
 #include "ui_recmonitor_ui.h"
 
 #include <QToolBar>
@@ -101,10 +100,6 @@ private:
     QAction *m_stopAction;
     QAction *m_discAction;
 
-
-    CaptureHandler *m_bmCapture;
-    /** @brief Indicates whether we are currently capturing from BLACKMAGIC. */
-    bool m_blackmagicCapturing;
     MonitorManager *m_manager;
     MltDeviceCapture *m_captureDevice;
     VideoPreviewContainer *m_videoBox;
@@ -112,6 +107,8 @@ private:
     void checkDeviceAvailability();
     QPixmap mergeSideBySide(const QPixmap& pix, const QString txt);
     void manageCapturedFiles();
+    /** @brief Build MLT producer for device, using path as profile. */
+    void buildMltDevice(const QString &path);
 
 private slots:
     void slotStartPreview(bool play = true);
@@ -125,9 +122,10 @@ private slots:
     void slotConfigure();
     void slotReadDvgrabInfo();
     void slotUpdateFreeSpace();
-    void slotGotBlackmagicFrameNumber(ulong ix);
     void slotSetInfoMessage(const QString &message);
     void slotDroppedFrames(int dropped);
+    /** @brief Change setting for preview while recording. */
+    void slotChangeRecordingPreview(int ix);
 
 public slots:
     void refreshRecMonitor(bool visible);