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

MLT now seems to correctly handle the "out" property so that we can make a...

MLT now seems to correctly handle the "out" property so that we can make a clip longer than original duration (the last frame will be repeated). Fixes proxy duration issue

svn path=/trunk/kdenlive/; revision=5584
parent 7cffc0e5
......@@ -607,11 +607,14 @@ void Render::getFileProperties(const QDomElement xml, const QString &clipId, int
return;
}
if (proxyProducer && xml.hasAttribute("proxy_out") && producer->get_out() != xml.attribute("proxy_out").toInt()) {
// Proxy file length is different than original clip length, this will corrupt project so disable this proxy clip
emit removeInvalidProxy(clipId, true);
delete producer;
return;
if (proxyProducer && xml.hasAttribute("proxy_out")) {
producer->set("out", xml.attribute("proxy_out").toInt());
if (producer->get_out() != xml.attribute("proxy_out").toInt()) {
// Proxy file length is different than original clip length, this will corrupt project so disable this proxy clip
emit removeInvalidProxy(clipId, true);
delete producer;
return;
}
}
if (xml.hasAttribute("force_aspect_ratio")) {
......
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