- bool mltRemoveEffect(int track, GenTime position, QString index, bool doRefresh = true);
- bool mltAddEffect(int track, GenTime position, QHash <QString, QString> args, bool doRefresh = true);
- bool mltEditEffect(int track, GenTime position, QHash <QString, QString> args);
+ /** Delete an effect to a clip in MLT's playlist */
+ bool mltRemoveEffect(int track, GenTime position, QString index, bool updateIndex, bool doRefresh = true);
+ /** Add an effect to a clip in MLT's playlist */
+ bool mltAddEffect(int track, GenTime position, EffectsParameterList params, bool doRefresh = true);
+ /** Edit an effect parameters in MLT */
+ bool mltEditEffect(int track, GenTime position, EffectsParameterList params);
+ /** This only updates the "kdenlive_ix" (index) value of an effect */
+ void mltUpdateEffectPosition(int track, GenTime position, int oldPos, int newPos);
+ /** This changes the order of effects in MLT, inverting effects from oldPos and newPos, also updating the kdenlive_ix value */