- /** @brief Updates the keyframes in the pan and zoom effect to fit the clips cropDuration.
- * @param width Render width
- * @param height Render height
- * @param cut (optional) if clip was cut, cut position relative to the original's clip position
- * @return List of the pan and zoom effects indexes
- *
- * Can be used for all effects using mlt_geometry with keyframes, but at the moment Pan & Zoom is the only one. */
- QList <int> updatePanZoom(int width, int height, int cut = 0);
- void updateGeometryKeyframes(QDomElement effect, int paramIndex, int width, int height, int cut = 0);
- bool updateNormalKeyframes(QDomElement parameter, const int previous, const int current, bool fromStart);
- QMap<int, QDomElement> adjustEffectsToDuration(int width, int height, int previous, int current, bool fromStart);
+ void updateGeometryKeyframes(QDomElement effect, int paramIndex, int width, int height, ItemInfo oldInfo);
+ bool updateNormalKeyframes(QDomElement parameter, ItemInfo oldInfo);
+
+ /** @brief Adjusts effects after a clip duration change. */
+ QMap<int, QDomElement> adjustEffectsToDuration(int width, int height, const ItemInfo &oldInfo);