]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
Workaround MLT not giving rgb images to fix thumbnails
[kdenlive] / src / kthumb.h
index 13bdd68e36d9bff58ff2abc7322380541eebbd83..1c4628c2c861c71d424af48e3cc878e3d2010c28 100644 (file)
@@ -77,6 +77,7 @@ Q_OBJECT public:
 
 public slots:
     void extractImage(int frame, int frame2);
+    void updateClipUrl(KUrl url);
     static QPixmap getImage(KUrl url, int width, int height);
     static QPixmap getImage(QDomElement xml, int frame, int width, int height);
     /* void getImage(KUrl url, int frame, int width, int height);
@@ -85,7 +86,8 @@ public slots:
     void removeAudioThumb();
     void getAudioThumbs(int channel, double frame, double frameLength, int arrayWidth);
     static QPixmap getImage(KUrl url, int frame, int width, int height);
-    static QPixmap getFrame(Mlt::Producer* producer, int frame, int width, int height);
+    static QPixmap getFrame(Mlt::Producer* producer, int framepos, int width, int height);
+
 protected:
     virtual void customEvent(QEvent * event);