]> git.sesse.net Git - kdenlive/blobdiff - src/clipmanager.h
* New config option for preview: disable B Frame decoding on h.264:
[kdenlive] / src / clipmanager.h
index 3fd66c62d7e4f6f54f0efc0b8760c03a12d7bdf3..3b42db0c2ce676d26dd3c514f797f6a2e5bf3be1 100644 (file)
 class KdenliveDoc;
 class DocClipBase;
 
+namespace Mlt {
+class Producer;
+};
+
 class ClipManager: public QObject {
 Q_OBJECT public:
 
@@ -53,7 +57,8 @@ Q_OBJECT public:
     void slotAddTextClipFile(const QString titleName, const QString imagePath, const QString xml, const QString group, const QString &groupId);
     void slotAddColorClipFile(const QString name, const QString color, QString duration, const QString group, const QString &groupId);
     void slotAddSlideshowClipFile(const QString name, const QString path, int count, const QString duration, const bool loop, const bool fade, const QString &luma_duration, const QString &luma_file, const int softness, const QString group, const QString &groupId);
-    DocClipBase *getClipById(const QString &clipId);
+    DocClipBase *getClipById(QString clipId);
+    DocClipBase *getClipByResource(QString resource);
     void slotDeleteClip(const QString & clipId);
     void setThumbsProgress(const QString &message, int progress);
     void checkAudioThumbs();
@@ -63,6 +68,11 @@ Q_OBJECT public:
     void startAudioThumbsGeneration();
     void endAudioThumbsGeneration(const QString &requestedId);
     void askForAudioThumb(const QString &id);
+    QString projectFolder() const;
+    void resetProducersList(QList <Mlt::Producer *> prods);
+
+public slots:
+    void updatePreviewSettings();
 
 private:   // Private attributes
     /** the list of clips in the document */