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
QString m_name;
Mlt::Consumer * m_mltConsumer;
Mlt::Producer * m_mltProducer;
- Mlt::Producer *m_mltTextProducer;
- Mlt::Filter *m_osdInfo;
Mlt::Profile *m_mltProfile;
double m_framePosition;
double m_fps;
bool m_isSplitView;
Mlt::Producer *m_blackClip;
- /** Holds the path to on screen display profile */
- QString m_osdProfile;
QString m_activeProfile;
- QTimer *refreshTimer;
- QTimer *osdTimer;
- KUrl m_exportedFile;
+ QTimer *m_refreshTimer;
+ QTimer *m_osdTimer;
/** A human-readable description of this renderer. */
int m_winid;
- int m_externalwinid;
/** Sets the description of this renderer to desc. */
void closeMlt();
void durationChanged(int);
void rendererPosition(int);
void rendererStopped(int);
- void removeInvalidClip(const QString &);
+ void removeInvalidClip(const QString &, bool replaceProducer);
+ void refreshDocumentProducers();
public slots: // Public slots
/** Start Consumer */