]> git.sesse.net Git - kdenlive/commitdiff
Automatically reload slideshow clips when animation or crop changes
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 7 Sep 2010 07:48:52 +0000 (07:48 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 7 Sep 2010 07:48:52 +0000 (07:48 +0000)
svn path=/trunk/kdenlive/; revision=4856

src/docclipbase.cpp

index 87194e0f33ce4cc904329b78a17e44e50bfc5fac..38c8cbfdfec97d064afeb43f519ce5fa080d222d 100644 (file)
@@ -658,8 +658,7 @@ void DocClipBase::slotRefreshProducer()
             while (filter) {
                 if (strcmp(filter->get("mlt_service"), "affine") == 0) {
                     break;
-                }
-                else if (strcmp(filter->get("mlt_service"), "boxblur") == 0) {
+                } else if (strcmp(filter->get("mlt_service"), "boxblur") == 0) {
                     clipService.detach(*filter);
                 } else ct++;
                 filter = clipService.filter(ct);
@@ -786,7 +785,7 @@ void DocClipBase::setProperties(QMap <QString, QString> properties)
     QMapIterator<QString, QString> i(properties);
     bool refreshProducer = false;
     QStringList keys;
-    keys << "luma_duration" << "luma_file" << "fade" << "ttl" << "softness";
+    keys << "luma_duration" << "luma_file" << "fade" << "ttl" << "softness" << "crop" << "animation";
     while (i.hasNext()) {
         i.next();
         setProperty(i.key(), i.value());