]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Fix crash on clip deletion, fix issues with placeholder clips
[kdenlive] / src / docclipbase.h
index a206818c91431ed8d996f834bed91106d359584c..dac2c770846bbeb835882052dad44c3fa6a72f72 100644 (file)
@@ -178,6 +178,7 @@ Q_OBJECT public:
     void refreshThumbUrl();
     const char *producerProperty(const char *name) const;
     void setProducerProperty(const char *name, const char *data);
+    void resetProducerProperty(const char *name);
     void clearProducers();
     void deleteProducers();
 
@@ -196,6 +197,9 @@ Q_OBJECT public:
     QList <CutZoneInfo> cutZones() const;
     void updateCutZone(int oldin, int oldout, int in, int out, QString desc = QString());
 
+    bool hasVideoCodec(const QString &codec) const;
+    bool hasAudioCodec(const QString &codec) const;
+
 private:   // Private attributes
 
     /** The number of times this clip is used in the project - the number of references to this clip
@@ -241,7 +245,6 @@ public slots:
     void updateAudioThumbnail(QMap<int, QMap<int, QByteArray> > data);
     bool slotGetAudioThumbs();
     QList < CommentedTime > commentedSnapMarkers() const;
-    void setSnapMarkers(QList < CommentedTime > markers);
     GenTime findNextSnapMarker(const GenTime & currTime);
     GenTime findPreviousSnapMarker(const GenTime & currTime);
     GenTime hasSnapMarkers(const GenTime & time);