class QTimer;
class QPixmap;
-namespace Mlt {
+namespace Mlt
+{
class Consumer;
class Playlist;
class Tractor;
-class Render: public QObject {
+class Render: public QObject
+{
Q_OBJECT public:
enum FailStates { OK = 0,
void setSceneList(QString playlist, int position = 0);
void setProducer(Mlt::Producer *producer, int position);
const QString sceneList();
- void saveSceneList(QString path, QDomElement kdenliveData = QDomElement());
+ bool saveSceneList(QString path, QDomElement kdenliveData = QDomElement());
/** Wraps the VEML command of the same name. Tells the renderer to
play the current scene at the speed specified, relative to normal
void mltCutClip(int track, GenTime position);
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);
void rendererPosition(int);
void rendererStopped(int);
void removeInvalidClip(const QString &);
+ void refreshDocumentProducers();
public slots: // Public slots
/** Start Consumer */