]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
- Properly handle pan and zoom effect during cut
[kdenlive] / src / customtrackview.h
index 89ecc1684c9d6af266d022899e6c204a33928c13..c437b0731cb2f55632becd53c51a452583ff1bf6 100644 (file)
@@ -392,6 +392,13 @@ private:
     /** @brief Gets the effect parameters that will be passed to Mlt. */
     EffectsParameterList getEffectArgs(const QDomElement effect);
 
+    /** @brief Updates @param item's pan and zoom effect after resize or cut.
+     * @param item clip whose pan and zoom effect should be updated
+     * @param cutPos (optional) if clip was cut, cut position relative to the original's clip position
+     * 
+     */
+    void updatePanZoom(ClipItem *item, GenTime cutPos = GenTime());
+
 private slots:
     void slotRefreshGuides();
     void slotEnableRefresh();