]> git.sesse.net Git - kdenlive/blobdiff - src/monitormanager.cpp
Initial support for Jog Shuttle devices
[kdenlive] / src / monitormanager.cpp
index aff200877f0f5221b97caa388cdc390c8c7e6641..9c163f07c91b7bdaae5996f6f7509184e797f821 100644 (file)
@@ -79,14 +79,14 @@ void MonitorManager::slotPlay() {
     else m_projectMonitor->slotPlay();
 }
 
-void MonitorManager::slotRewind() {
-    if (m_activeMonitor == "clip") m_clipMonitor->slotRewind();
-    else m_projectMonitor->slotRewind();
+void MonitorManager::slotRewind(double speed) {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotRewind(speed);
+    else m_projectMonitor->slotRewind(speed);
 }
 
-void MonitorManager::slotForward() {
-    if (m_activeMonitor == "clip") m_clipMonitor->slotForward();
-    else m_projectMonitor->slotForward();
+void MonitorManager::slotForward(double speed) {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotForward(speed);
+    else m_projectMonitor->slotForward(speed);
 }
 
 void MonitorManager::slotRewindOneFrame() {