#include <qstring.h>
#include <qmap.h>
#include <QList>
-#include <QWidget>
#include <kurl.h>
backwards. Does not specify start/stop times for playback.*/
void play(double speed);
void switchPlay();
+ void pause();
/** stop playing */
void stop(const GenTime & startTime);
void setVolume(double volume);
void mltInsertClip(ItemInfo info, QDomElement element, Mlt::Producer *prod);
void mltUpdateClip(ItemInfo info, QDomElement element, Mlt::Producer *prod);
void mltCutClip(int track, GenTime position);
+ void mltInsertSpace(const GenTime pos, int track, const GenTime duration);
+ int mltGetSpaceLength(const GenTime pos, int track);
bool mltResizeClipEnd(ItemInfo info, GenTime clipDuration);
bool mltResizeClipStart(ItemInfo info, GenTime diff);
- bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart);
- bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart);
+ bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart, Mlt::Producer *prod);
+ bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart, Mlt::Producer *prod);
bool mltRemoveClip(int track, GenTime position);
bool mltRemoveEffect(int track, GenTime position, QString index, bool doRefresh = true);
bool mltAddEffect(int track, GenTime position, QHash <QString, QString> args, bool doRefresh = true);
void mltMoveTransparency(int startTime, int endTime, int startTrack, int endTrack, int id);
void mltDeleteTransparency(int pos, int track, int id);
void mltResizeTransparency(int oldStart, int newStart, int newEnd, int track, int id);
+ void mltInsertTrack(int ix, bool videoTrack);
+ void mltDeleteTrack(int ix);
+ void mltUpdateClipProducer(int track, int pos, Mlt::Producer *prod);
/** Change speed of a clip in playlist. To do this, we create a new "framebuffer" producer.
This new producer must have its "resource" param set to: video.mpg?0.6 where video.mpg is the path
to the clip and 0.6 is the speed in percents. The newly created producer will have it's
"id" parameter set to: "slowmotion:parentid:speed", where parentid is the id of the original clip
in the ClipManager list and speed is the current speed */
- int mltChangeClipSpeed(ItemInfo info, double speed, Mlt::Producer *prod);
+ int mltChangeClipSpeed(ItemInfo info, double speed, double oldspeed, Mlt::Producer *prod);
QList <Mlt::Producer *> producersList();