From 7b374095aaec92e0fb7044550903aa8e10522677 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 11 Aug 2013 08:01:22 +0200 Subject: Implement preview Show 4 frames of the selected movie in PictureViewer2. --- helper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helper.h') diff --git a/helper.h b/helper.h index 75aa811..4f70854 100644 --- a/helper.h +++ b/helper.h @@ -35,6 +35,8 @@ namespace Helper { void centerWidget(QWidget *widget); QVariantMap ffmpegData(const QString &path); QJsonDocument streamData(const QString &path); + QPixmap preview(const QString &path); + QImage snapshot(const QString &path, int where); class Duration { public: Duration(); -- cgit v1.2.3-70-g09d2