X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdocclipbase.h;h=60e1402baa9fd3d1c6ce3205e09a1625b451be04;hb=856f46341a3659ec6b5ccc4696b4c0bf358e6b9b;hp=a206818c91431ed8d996f834bed91106d359584c;hpb=af778b8ed425f9477ca0d6647194b57bee5d141a;p=kdenlive diff --git a/src/docclipbase.h b/src/docclipbase.h index a206818c..60e1402b 100644 --- a/src/docclipbase.h +++ b/src/docclipbase.h @@ -178,8 +178,9 @@ 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(); + void deleteProducers(bool clearThumbCreator = true); /** Set default play zone for clip monitor */ void setZone(QPoint zone); @@ -188,6 +189,7 @@ Q_OBJECT public: /** Returns true is clip is missing but user wants to keep it as placeholder */ bool isPlaceHolder() const; + void setValid(); static QString getHash(const QString &path); void addCutZone(int in, int out, QString desc = QString()); @@ -196,6 +198,11 @@ Q_OBJECT public: QList 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; + bool checkHash() const; + void setPlaceHolder(bool place); + private: // Private attributes /** The number of times this clip is used in the project - the number of references to this clip @@ -241,7 +248,6 @@ public slots: void updateAudioThumbnail(QMap > 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); @@ -259,7 +265,6 @@ public slots: signals: - void getAudioThumbs(); void gotAudioData(); };