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

Fix monitor play zone

Fixes #1242
parent ecc524fd
Pipeline #94282 passed with stage
in 8 minutes and 37 seconds
......@@ -697,6 +697,12 @@ bool GLWidget::checkFrameNumber(int pos, int offset, bool isPlaying)
if (isPlaying && pos >= m_loopOut) {
m_consumer->purge();
if (!m_isLoopMode) {
m_producer->set_speed(0);
m_proxy->setSpeed(0);
m_consumer->set("refresh", 0);
m_proxy->setPosition(m_loopOut);
m_producer->seek(m_loopOut);
m_loopOut = 0;
return false;
}
m_producer->seek(m_isZoneMode ? m_proxy->zoneIn() : m_loopIn);
......
Markdown is supported
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