/** @brief Save a clip in timeline to an xml playlist. */
bool saveClip(int track, GenTime position, KUrl url, QString desc = QString());
+ /** @brief Return true if we are currently playing */
+ bool isPlaying() const;
+
/** @brief Returns the speed at which the renderer is currently playing.
*
* It returns 0.0 when the renderer is not playing anything. */
double dar() const;
/** @brief Returns sample aspect ratio. */
double sar() const;
+ /** @brief If monitor is active, refresh it. */
+ void refreshIfActive();
+ /** @brief Start the MLT monitor consumer. */
+ void startConsumer();
/*
* Playlist manipulation.
bool m_isZoneMode;
bool m_isLoopMode;
GenTime m_loopStart;
- int m_originalOut;
/** @brief True when the monitor is in split view. */
bool m_isSplitView;
QLocale m_locale;
QFuture <void> m_infoThread;
QList <requestClipInfo> m_requestList;
+ bool m_paused;
void closeMlt();
void mltCheckLength(Mlt::Tractor *tractor);