]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.h
Remember last seek position for clips in project tree
[kdenlive] / src / docclipbase.h
index 724ca2180dbc4bfe096f44080bc348dfb90c406b..e6e722c25447d1a3b57d80b8d2c53423e908c281 100644 (file)
@@ -165,10 +165,6 @@ Q_OBJECT public:
     /** Returns the thumbnail producer used by this clip */
     KThumb *thumbProducer();
 
-    /** Cache for every audio Frame with 10 Bytes */
-    /** format is frame -> channel ->bytes */
-    QMap<int, QMap<int, QByteArray> > m_audioFrameCache;
-
     /** Free cache data */
     void slotClearAudioCache();
     QString getClipHash() const;
@@ -206,9 +202,12 @@ Q_OBJECT public:
     bool getAudioThumbs();
     void setAnalysisData(const QString &name, const QString &data);
     QMap <QString, QString> analysisData() const;
+    int lastSeekPosition;
+    /** Cache for every audio Frame with 10 Bytes */
+    /** format is frame -> channel ->bytes */
+    QMap<int, QMap<int, QByteArray> > audioFrameCache;
 
 private:   // Private attributes
-
     /** The number of times this clip is used in the project - the number of references to this clip
      * that exist. */
     uint m_refcount;