aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
diff options
context:
space:
mode:
authorq5sys <jt@ixsystems.com>2017-09-24 19:58:16 -0400
committerq5sys <jt@ixsystems.com>2017-09-24 19:58:16 -0400
commita3092fb02a1905345e1311b2e64f4796acdb9f34 (patch)
treedce99af9b9536c26aa80ca247ae62a2a39c856f7 /src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
parentFinal fix - re-enable some backwards-compatible code and put a big warning at... (diff)
downloadlumina-a3092fb02a1905345e1311b2e64f4796acdb9f34.tar.gz
lumina-a3092fb02a1905345e1311b2e64f4796acdb9f34.tar.bz2
lumina-a3092fb02a1905345e1311b2e64f4796acdb9f34.zip
rework video thumbnail code
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
new file mode 100644
index 00000000..ad565749
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
@@ -0,0 +1,25 @@
+#ifndef VIDNAIL_H
+#define VIDNAIL_H
+
+#include <QMediaPlayer>
+#include <QtMultimediaWidgets>
+#include "videowidgetsurface.h"
+#include <QPixmap>
+#include <QAbstractVideoSurface>
+#include <QImage>
+#include <QRect>
+#include <QVideoFrame>
+
+public:
+
+ void grabvideothumbnail();
+
+private:
+
+ QAbstractVideoSurface *vsurface;
+ QImage::Format imageFormat;
+ QPixmap imageCaptured;
+
+
+#endif // VIDNAIL_H
+
bgstack15