- int resetProfile();
- const double fps() const;
- const int renderWidth() const;
- const int renderHeight() const;
- /** get display aspect ratio */
- const double dar() const;
-
- /** Playlist manipulation */
- void mltInsertClip(ItemInfo info, QDomElement element, Mlt::Producer *prod);
- void mltUpdateClip(ItemInfo info, QDomElement element, Mlt::Producer *prod);
+ /** @brief Change the Mlt PROFILE
+ * @param profileName The MLT profile name
+ * @param dropSceneList If true, the current playlist will be deleted
+ * . */
+ int resetProfile(const QString profileName, bool dropSceneList = false);
+ double fps() const;
+
+ /** @brief Returns the width of a frame for this profile. */
+ int frameRenderWidth() const;
+ /** @brief Returns the display width of a frame for this profile. */
+ int renderWidth() const;
+ /** @brief Returns the height of a frame for this profile. */
+ int renderHeight() const;
+
+ /** @brief Returns display aspect ratio. */
+ double dar() const;
+ /** @brief Returns sample aspect ratio. */
+ double sar() const;
+
+ /*
+ * Playlist manipulation.
+ */
+ Mlt::Producer *checkSlowMotionProducer(Mlt::Producer *prod, QDomElement element);
+ int mltInsertClip(ItemInfo info, QDomElement element, Mlt::Producer *prod, bool overwrite = false, bool push = false);
+ bool mltUpdateClip(ItemInfo info, QDomElement element, Mlt::Producer *prod);