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

Fix proxied clip cannot be dragged from monitor to timeline.

Fixes #1052
parent a42613bd
Pipeline #60269 passed with stage
in 8 minutes and 52 seconds
......@@ -437,9 +437,9 @@ int ClipController::getFramePlaytime() const
}
if (!m_hasLimitedDuration) {
int playtime = m_masterProducer->time_to_frames(m_masterProducer->get("kdenlive:duration"));
return playtime == 0 ? m_masterProducer->get_playtime() : playtime;
return playtime == 0 ? m_masterProducer->get_length() : playtime;
}
return m_masterProducer->get_playtime();
return m_masterProducer->get_length();
}
QString ClipController::getProducerProperty(const QString &name) const
......
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