diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-06 02:23:21 +0300 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-12-12 12:11:26 +0000 |
commit | 2304c5b38a9efe861f7d4e4e0518fcb82532450f (patch) | |
tree | ebe43f374c479d1f7b59a6bd77dd8b205761d9ea /examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h | |
parent | 7bc230386e0d8d6f3c4ad5a0a6a22a625c9a8327 (diff) |
Examples: Add missing override
Change-Id: I54529fdc8013497edb98ee97863fe4a141bdbf1c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h')
-rw-r--r-- | examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h b/examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h index c869dbeb6..41d05b709 100644 --- a/examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h +++ b/examples/multimediawidgets/customvideosurface/customvideowidget/videowidgetsurface.h @@ -55,13 +55,13 @@ public: VideoWidgetSurface(QWidget *widget, QObject *parent = 0); QList<QVideoFrame::PixelFormat> supportedPixelFormats( - QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle) const; - bool isFormatSupported(const QVideoSurfaceFormat &format) const; + QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle) const override; + bool isFormatSupported(const QVideoSurfaceFormat &format) const override; - bool start(const QVideoSurfaceFormat &format); - void stop(); + bool start(const QVideoSurfaceFormat &format) override; + void stop() override; - bool present(const QVideoFrame &frame); + bool present(const QVideoFrame &frame) override; QRect videoRect() const { return targetRect; } void updateVideoRect(); |