- void mltResizeClipEnd(int track, GenTime pos, GenTime in, GenTime out);
- void mltResizeClipStart(int track, GenTime pos, GenTime moveEnd, GenTime moveStart, GenTime in, GenTime out);
- bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart);
- bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart);
- void mltRemoveClip(int track, GenTime position);
- bool mltRemoveEffect(int track, GenTime position, QString index, bool doRefresh = true);
- bool mltAddEffect(int track, GenTime position, QMap <QString, QString> args, bool doRefresh = true);
- bool mltEditEffect(int track, GenTime position, QMap <QString, QString> args);
+ void mltInsertSpace(QMap <int, int> trackClipStartList, QMap <int, int> trackTransitionStartList, int track, const GenTime duration, const GenTime timeOffset);
+ int mltGetSpaceLength(const GenTime pos, int track, bool fromBlankStart);
+ int mltTrackDuration(int track);
+ bool mltResizeClipEnd(ItemInfo info, GenTime clipDuration);
+ bool mltResizeClipStart(ItemInfo info, GenTime diff);
+ bool mltResizeClipCrop(ItemInfo info, GenTime diff);
+ bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart, Mlt::Producer *prod, bool overwrite = false, bool insert = false);
+ bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart, Mlt::Producer *prod, bool overwrite = false, bool insert = false);
+ bool mltRemoveClip(int track, GenTime position);
+
+ /** @brief Deletes an effect from a clip in MLT's playlist. */
+ bool mltRemoveEffect(int track, GenTime position, QString index, bool updateIndex, bool doRefresh = true);
+
+ /** @brief Adds an effect to a clip in MLT's playlist. */
+ bool mltAddEffect(int track, GenTime position, EffectsParameterList params, bool doRefresh = true);
+
+ /** @brief Edits an effect parameters in MLT's playlist. */
+ bool mltEditEffect(int track, GenTime position, EffectsParameterList params);
+
+ /** @brief Updates the "kdenlive_ix" (index) value of an effect. */
+ void mltUpdateEffectPosition(int track, GenTime position, int oldPos, int newPos);
+
+ /** @brief Changes the order of effects in MLT's playlist.
+ *
+ * It switches effects from oldPos and newPos, updating the "kdenlive_ix"
+ * (index) value. */