]> git.sesse.net Git - kdenlive/commitdiff
Fix proxy triggering duration mismatch (part 2)
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 20 Jun 2011 19:44:55 +0000 (19:44 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 20 Jun 2011 19:44:55 +0000 (19:44 +0000)
svn path=/trunk/kdenlive/; revision=5723

src/renderer.cpp

index 6fc3a253a3fdbf8a3b3902a09fea5ea69dd8a1c2..7a4886737309bcf5cb9c503e5704314c7ab9766d 100644 (file)
@@ -616,6 +616,7 @@ void Render::getFileProperties(const QDomElement xml, const QString &clipId, int
     }
 
     if (proxyProducer && xml.hasAttribute("proxy_out")) {
+        producer->set("length", xml.attribute("proxy_out").toInt() + 1);
         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