- QMap<int, QMap<int, QByteArray> > audioFrameChache;
-
- /** return english name for clip type */
- static QString getTypeName(CLIPTYPE type);
-
- /** Clip is ready to get thumbs */
- void slotRequestAudioThumbs();
-
+ QMap<int, QMap<int, QByteArray> > m_audioFrameCache;
+
+ /** Free cache data */
+ void slotClearAudioCache();
+ void askForAudioThumbs();
+ QString getClipHash() const;
+ 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();
+
+ /** Set default play zone for clip monitor */
+ void setZone(QPoint zone);
+ /** Get default play zone for clip monitor */
+ QPoint zone() const;
+
+ /** Returns true is clip is missing but user wants to keep it as placeholder */
+ bool isPlaceHolder() const;
+ static QString getHash(const QString &path);
+
+ void addCutZone(int in, int out, QString desc = QString());
+ bool hasCutZone(QPoint p) const;
+ void removeCutZone(int in, int out);
+ 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;