]> git.sesse.net Git - kdenlive/blobdiff - src/renderer.h
Do not uselessly switch monitors at startup
[kdenlive] / src / renderer.h
index 4fb5b1b5fa6b0c6aa050283378093b9c84158efa..70f91633f8e99a17f8086f4f14deb92ed304802d 100644 (file)
@@ -179,8 +179,11 @@ Q_OBJECT public:
     /** @brief Change the Mlt PROFILE
      * @param profileName The MLT profile name
      * @param dropSceneList If true, the current playlist will be deleted
+     * @return true if the profile was changed
      * . */
     int resetProfile(const QString& profileName, bool dropSceneList = false);
+    /** @brief Returns true if the render uses profileName as current profile. */
+    bool hasProfile(const QString& profileName) const;
     double fps() const;
 
     /** @brief Returns the width of a frame for this profile. */