]> git.sesse.net Git - kdenlive/blobdiff - src/monitor.h
Use real MLT position in monitors instead of cached one, preventing race condition...
[kdenlive] / src / monitor.h
index accd3aac0a6b8eb9eeb8977d45b6963511fba48e..2cffb9498dc72a68f191226852fd693d189da7e4 100644 (file)
@@ -101,7 +101,6 @@ private:
     bool m_isActive;
     double m_scale;
     int m_length;
-    int m_position;
     bool m_dragStarted;
     MonitorRefresh *m_monitorRefresh;
     KIcon m_playIcon;
@@ -131,7 +130,7 @@ public slots:
     void slotOpenFile(const QString &);
     void slotSetXml(DocClipBase *clip, const int position = -1);
     void initMonitor();
-    void refreshMonitor(bool visible);
+    void refreshMonitor(bool visible = true);
     void slotSeek(int pos);
     void stop();
     void start();
@@ -163,6 +162,7 @@ signals:
     void adjustMonitorSize();
     void zoneUpdated(QPoint);
     void saveZone(Render *, QPoint);
+    void blockMonitors();
 };
 
 #endif