]> git.sesse.net Git - kdenlive/commitdiff
Fix slideshow duration not updated when changing frame duration
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 14 Jan 2011 19:04:28 +0000 (19:04 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 14 Jan 2011 19:04:28 +0000 (19:04 +0000)
svn path=/trunk/kdenlive/; revision=5324

src/clipproperties.cpp

index d75400fa8bff16a301d9944cbd5facf0b2db8b17..c79a74b493d944e5c98fde876888e02c90100f8a 100644 (file)
@@ -810,7 +810,7 @@ QMap <QString, QString> ClipProperties::properties()
         if (duration != m_old_props.value("ttl").toInt()) {
             m_clipNeedsRefresh = true;
             props["ttl"] = QString::number(duration);
-            props["out"] = QString::number(duration * m_count - 1);
+            props["length"] = QString::number(duration * m_count);
         }
 
         if (duration * m_count - 1 != m_old_props.value("out").toInt()) {