From a3092fb02a1905345e1311b2e64f4796acdb9f34 Mon Sep 17 00:00:00 2001 From: q5sys Date: Sun, 24 Sep 2017 19:58:16 -0400 Subject: rework video thumbnail code --- src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h') 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 +#include +#include "videowidgetsurface.h" +#include +#include +#include +#include +#include + +public: + + void grabvideothumbnail(); + +private: + + QAbstractVideoSurface *vsurface; + QImage::Format imageFormat; + QPixmap imageCaptured; + + +#endif // VIDNAIL_H + -- cgit From 2f6d29bf06e77b45daa742a5c6c65a5ed0624dab Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 3 Oct 2017 15:25:46 -0400 Subject: Revert "rework video thumbnail code" This reverts commit a3092fb02a1905345e1311b2e64f4796acdb9f34. --- src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h | 25 ----------------------- 1 file changed, 25 deletions(-) delete mode 100644 src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h') diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h deleted file mode 100644 index ad565749..00000000 --- a/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef VIDNAIL_H -#define VIDNAIL_H - -#include -#include -#include "videowidgetsurface.h" -#include -#include -#include -#include -#include - -public: - - void grabvideothumbnail(); - -private: - - QAbstractVideoSurface *vsurface; - QImage::Format imageFormat; - QPixmap imageCaptured; - - -#endif // VIDNAIL_H - -- cgit From 62805a2e99df692201c8a0885e8b8e785949b634 Mon Sep 17 00:00:00 2001 From: q5sys Date: Tue, 3 Oct 2017 15:29:19 -0400 Subject: add libav video thumbnail code back to project --- src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h') 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..e13894e1 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h @@ -0,0 +1,13 @@ +//=========================================== +// Lumina-DE source code +// Copyright (c) 2017, q5sys +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +#include "vidnail.h" + +VidNail::VidNail(QObject *parent) : QObject(parent){ +} + +VidNail::~VidNail(){ +} -- cgit