]> git.sesse.net Git - kdenlive/blobdiff - src/abstractclipitem.cpp
Change clip speed (slowmotion) - not finished yet, saving does not work
[kdenlive] / src / abstractclipitem.cpp
index 9606825463a71c1367842f202be084891931faab..2fce8d1d0fe6c48b752b61e47473e9451248e01d 100644 (file)
@@ -173,6 +173,10 @@ GenTime AbstractClipItem::maxDuration() const {
     return m_maxDuration;
 }
 
+void AbstractClipItem::setMaxDuration(const GenTime &max) {
+    m_maxDuration = max;
+}
+
 QPainterPath AbstractClipItem::upperRectPart(QRectF br) {
     QPainterPath roundRectPathUpper;
     double roundingY = 20;