]> git.sesse.net Git - kdenlive/commitdiff
Fix slideshow clip frame duration
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 20 Jul 2008 15:06:37 +0000 (15:06 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 20 Jul 2008 15:06:37 +0000 (15:06 +0000)
svn path=/branches/KDE4/; revision=2330

src/renderer.cpp

index 860ccd0c52e359478c81873d75949c1cb9a6c21c..1ba4b8b4f7e00d9f9288d339342b32e041f0e5b0 100644 (file)
@@ -409,6 +409,7 @@ void Render::getFileProperties(const QDomElement &xml, int clipId) {
         char *tmp = decodedString(url.path());
         producer = new Mlt::Producer(*m_mltProfile, tmp);
         if (!xml.attribute("out").isEmpty()) producer->set_in_and_out(xml.attribute("in").toInt(), xml.attribute("out").toInt());
+       if (!xml.attribute("ttl").isEmpty()) producer->set("ttl", xml.attribute("ttl").toInt());
         delete[] tmp;
     }
     if (producer->is_blank()) {