]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.cpp
No more duration limit for color, image and title clips
[kdenlive] / src / docclipbase.cpp
index b64517df6496cdd18477906d33089344e4c3c6eb..d9c329a0298c031151a5b085b12edbb563f0e66b 100644 (file)
@@ -230,8 +230,9 @@ const GenTime &DocClipBase::duration() const
 const GenTime DocClipBase::maxDuration() const
 {
     if (m_clipType == COLOR || m_clipType == IMAGE || m_clipType == TEXT || (m_clipType == SLIDESHOW &&  m_properties.value("loop") == "1")) {
-        const GenTime dur(15000, KdenliveSettings::project_fps());
-        return dur;
+        /*const GenTime dur(15000, KdenliveSettings::project_fps());
+        return dur;*/
+        return GenTime();
     }
     return m_duration;
 }