X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderer.h;h=bb51314414f3e019a8a49a3d31a1fcd4db188c32;hb=b72003117bc6322414a01a4c8148575cfa089a9f;hp=3b51dc7a144c88d3823b32d2919d2f4729754117;hpb=60d534a5d6d3472625430e4ffda2f654f7aec0c3;p=kdenlive diff --git a/src/renderer.h b/src/renderer.h index 3b51dc7a..bb513144 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -202,12 +202,16 @@ Q_OBJECT public: /** @brief Deletes an effect from a clip in MLT's playlist. */ bool mltRemoveEffect(int track, GenTime position, QString index, bool updateIndex, bool doRefresh = true); + bool mltRemoveTrackEffect(int track, QString index, bool updateIndex); /** @brief Adds an effect to a clip in MLT's playlist. */ bool mltAddEffect(int track, GenTime position, EffectsParameterList params, bool doRefresh = true); + bool mltAddEffect(Mlt::Service service, EffectsParameterList params, int duration, bool doRefresh); + bool mltAddTrackEffect(int track, EffectsParameterList params); /** @brief Edits an effect parameters in MLT's playlist. */ bool mltEditEffect(int track, GenTime position, EffectsParameterList params); + bool mltEditTrackEffect(int track, EffectsParameterList params); /** @brief Updates the "kdenlive_ix" (index) value of an effect. */ void mltUpdateEffectPosition(int track, GenTime position, int oldPos, int newPos); @@ -217,6 +221,7 @@ Q_OBJECT public: * It switches effects from oldPos and newPos, updating the "kdenlive_ix" * (index) value. */ void mltMoveEffect(int track, GenTime position, int oldPos, int newPos); + void mltMoveTrackEffect(int track, int oldPos, int newPos); /** @brief Enables/disables audio/video in a track. */ void mltChangeTrackState(int track, bool mute, bool blind); @@ -239,7 +244,7 @@ Q_OBJECT public: * * It creates a new "framebuffer" producer, which must have its "resource" * property set to "video.mpg?0.6", where "video.mpg" is the path to the - * clip and "0.6" is the speed in percentile. The newly created producer + * clip and "0.6" is the speed in percentage. The newly created producer * will have its "id" property set to "slowmotion:parentid:speed", where * "parentid" is the id of the original clip in the ClipManager list and * "speed" is the current speed. */ @@ -252,7 +257,10 @@ Q_OBJECT public: #ifdef Q_WS_MAC void showFrame(Mlt::Frame&); #endif + /** @brief This property is used to decide if the renderer should convert it's frames to QImage for use in other Kdenlive widgets. */ + bool sendFrameForAnalysis; QList checkTrackSequence(int); + void sendFrameUpdate(); private: