]> git.sesse.net Git - kdenlive/blobdiff - src/projectitem.h
Fix some avformat producer concurrency crashes
[kdenlive] / src / projectitem.h
index 9a017f0c43c45c49d7865afabd76edbc1ed9d969..64f009209f1776eea03af2575e674e2bc034ccda 100644 (file)
@@ -64,7 +64,7 @@ public:
     static int itemDefaultHeight();
     void slotSetToolTip();
     /** \brief Set the status of proxy clip creation. 0 = no proxy, 1 = creating proxy, 2 = proxy created. */
-    void setProxyStatus(PROXYSTATUS status);
+    void setProxyStatus(PROXYSTATUS status, int progress = 0);
     /** \brief Returns the proxy status for this clip (true means there is a proxy clip). */
     bool hasProxy() const;
     /** \brief Returns true if the proxy for this clip is ready. */
@@ -83,9 +83,10 @@ private:
     CLIPTYPE m_clipType;
     DocClipBase *m_clip;
     QString m_clipId;
-
+    /** @brief Setup basic properties */
     void buildItem();
-
+    /** @brief Check if an xml project file has proxies */
+    bool playlistHasProxies(const QString path);
 };
 
 #endif