aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2015-05-17 14:41:28 +0200
committerJean-Baptiste Mardelle <[email protected]>2015-05-17 14:41:28 +0200
commit1e11e1ab685e12101f0a1cbc7e95858a17d25f1a (patch)
tree09070c22cc99cc5a5ccdc2638c49c1d726e20484
parente6133c57031c769e1eda8ccc99e57a7946cf4a3e (diff)
Fix repetitive seeking with keyboard
-rw-r--r--src/monitor/monitor.cpp2
-rw-r--r--src/renderer.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/monitor/monitor.cpp b/src/monitor/monitor.cpp
index 1211700..e5e1566 100644
--- a/src/monitor/monitor.cpp
+++ b/src/monitor/monitor.cpp
@@ -856,7 +856,6 @@ void Monitor::slotForward(double speed)
void Monitor::slotRewindOneFrame(int diff)
{
slotActivateMonitor();
- render->play(0);
render->seekToFrameDiff(-diff);
m_ruler->update();
}
@@ -864,7 +863,6 @@ void Monitor::slotRewindOneFrame(int diff)
void Monitor::slotForwardOneFrame(int diff)
{
slotActivateMonitor();
- render->play(0);
render->seekToFrameDiff(diff);
m_ruler->update();
}
diff --git a/src/renderer.cpp b/src/renderer.cpp
index a39123d..c72d387 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -1786,7 +1786,6 @@ void Render::seekToFrameDiff(int diff)
{
if (!m_mltProducer || !m_isActive)
return;
- resetZoneMode();
if (requestedSeekPosition == SEEK_INACTIVE) {
seek(m_mltConsumer->position() + diff);
}