Commit 75c3f004 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 efab2004
......@@ -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