]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Add mlt and encoder threads to render dialog.
[kdenlive] / src / docclipbase.h
index 5c025339ff4d696cf764f1ea090f1fbb7b9f4179..1be1b0a466a0d6fb0e5d685d47eb084a15f3a701 100644 (file)
@@ -26,6 +26,8 @@
 #include <QPixmap>
 #include <QObject>
 #include <QTimer>
+#include <QProcess>
+#include <QFuture>
 
 #include <KUrl>
 
@@ -180,7 +182,7 @@ Q_OBJECT public:
     void setProducerProperty(const char *name, const char *data);
     void resetProducerProperty(const char *name);
     void clearProducers();
-    void deleteProducers();
+    void deleteProducers(bool clearThumbCreator = true);
 
     /** Set default play zone for clip monitor */
     void setZone(QPoint zone);
@@ -200,6 +202,8 @@ Q_OBJECT public:
 
     bool hasVideoCodec(const QString &codec) const;
     bool hasAudioCodec(const QString &codec) const;
+    bool checkHash() const;
+    void setPlaceHolder(bool place);
 
 private:   // Private attributes
 
@@ -235,6 +239,7 @@ private:   // Private attributes
     QMap <QString, QString> m_properties;
     /** Holds clip metadata like author, copyright,... */
     QMap <QString, QString> m_metadata;
+
     /** Create connections for audio thumbnails */
     void slotCreateAudioTimer();
     void slotRefreshProducer();
@@ -263,8 +268,11 @@ public slots:
 
 
 signals:
-    void getAudioThumbs();
     void gotAudioData();
+    /** @brief Generate a proxy clip (lower resolution copy) named like the clip's hash. */
+    void createProxy(const QString id);
+    /** @brief Abort creation of the proxy clip (lower resolution copy). */
+    void abortProxy(const QString id);
 };
 
 #endif