summaryrefslogtreecommitdiffstats
path: root/vlcwrapper/VLCVideoWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'vlcwrapper/VLCVideoWidget.h')
-rw-r--r--vlcwrapper/VLCVideoWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vlcwrapper/VLCVideoWidget.h b/vlcwrapper/VLCVideoWidget.h
index a270a17..c25f2c8 100644
--- a/vlcwrapper/VLCVideoWidget.h
+++ b/vlcwrapper/VLCVideoWidget.h
@@ -2,6 +2,7 @@
#define VLCVIDEOWIDGET_H
#include <QFrame>
+#include <QImage>
#include <vlc/vlc.h>
class VLCVideoWidget : public QFrame
@@ -28,6 +29,9 @@ public:
bool canPause() const;
bool hasVideoOut() const;
virtual QSize sizeHint() const;
+ int width() const;
+ int height() const;
+ QImage currentFrameImage() const;
public slots:
bool setSource(const QString &source);
bool play();