Commit a568c015 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Don't restart clip if trying to play backwards from clip monitor end

parent 5950ef65
...@@ -750,7 +750,7 @@ void Render::switchPlay(bool play, double speed) ...@@ -750,7 +750,7 @@ void Render::switchPlay(bool play, double speed)
} }
if (play) { if (play) {
double currentSpeed = m_mltProducer->get_speed(); double currentSpeed = m_mltProducer->get_speed();
if (m_name == Kdenlive::ClipMonitor && m_mltConsumer->position() == m_mltProducer->get_out()) { if (m_name == Kdenlive::ClipMonitor && m_mltConsumer->position() == m_mltProducer->get_out() && speed > 0) {
m_mltProducer->seek(0); m_mltProducer->seek(0);
} }
if (m_mltConsumer->get_int("real_time") != m_qmlView->realTime()) { if (m_mltConsumer->get_int("real_time") != m_qmlView->realTime()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment