]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
simplify the getImage methods in kthumb and use it in renderer (to fix random crash...
[kdenlive] / src / kthumb.h
index a0255210178858285c1bd9b6de2db549b8325f19..a8637e90145bceaf03cf5d43936bf0d7df6b7663 100644 (file)
@@ -83,7 +83,8 @@ public slots:
     void stopAudioThumbs();
     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);
 protected:
     virtual void customEvent(QEvent * event);