]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.cpp
Fix frame size changed in pan & zoom effect when changing clip duration
[kdenlive] / src / customtrackview.cpp
index 28f20905c3c9879bd9d8130179bb4c3f961012f0..3a4d07cf416bff724144e84f7fcb8f2ef6fced04 100644 (file)
@@ -4410,7 +4410,7 @@ void CustomTrackView::prepareResizeClipStart(AbstractClipItem* item, ItemInfo ol
                 indexes.append(panZoomPos);
             }
 
-            if (clip->checkEffectsKeyframesPos(oldInfo.cropStart.frames(m_document->fps()), clip->cropStart().frames(m_document->fps()), true)) {
+            if (clip->checkEffectsKeyframesPos(oldInfo.cropStart.frames(m_document->fps()), clip->cropStart().frames(m_document->fps()), true, m_document->width(), m_document->height())) {
                 // Keyframes were modified, updateClip
                 QDomNodeList effs = doc.elementsByTagName("effect");
                 // Hack: