Commit f5404022 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Jean-Baptiste Mardelle
Browse files

Fix playing Zone breaks monitor ruler length

BUG: 375163
parent b9ccc837
......@@ -396,7 +396,7 @@ bool Render::setProducer(Mlt::Producer *producer, int position, bool isActive)
if (isActive) {
startConsumer();
}
emit durationChanged(m_mltProducer->get_playtime() - 1, m_mltProducer->get_in());
emit durationChanged(m_mltProducer->get_length() - 1, m_mltProducer->get_in());
position = m_mltProducer->position();
emit rendererPosition(position);
return true;
......
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