blob: ad565749f564c950776784c25e84cc0ae1f764a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|