diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-01-07 15:16:11 +0100 |
---|---|---|
committer | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-01-13 13:20:52 +0100 |
commit | d9e029e02f992ca0e94d50138843dcd204e9f152 (patch) | |
tree | c045556bc20141274ecb5d498fd87e40b40ef22e /src | |
parent | 5e5c291c7dcd535a13b03cf6efce7a9428183d1a (diff) |
Call parent methods in QVideoSurfaces's start and stop
Added forgotten calls to parent's methods.
To make current object "active".
Change-Id: If31d751dc7d37b0b160bfb8eaad818f3843af65b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/multimedia/video/qvideosurfaces.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/multimedia/video/qvideosurfaces.cpp b/src/multimedia/video/qvideosurfaces.cpp index c7de5ea12..459a6675a 100644 --- a/src/multimedia/video/qvideosurfaces.cpp +++ b/src/multimedia/video/qvideosurfaces.cpp @@ -71,13 +71,15 @@ bool QVideoSurfaces::start(const QVideoSurfaceFormat &format) for (auto &s : m_surfaces) result &= s->start(format); - return result; + return result && QAbstractVideoSurface::start(format); } void QVideoSurfaces::stop() { for (auto &s : m_surfaces) s->stop(); + + QAbstractVideoSurface::stop(); } bool QVideoSurfaces::present(const QVideoFrame &frame) |