diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-03-12 12:15:54 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-23 13:53:53 +0000 |
commit | cf77c744aa495ee3e8a93cf403b78c8ee4f8f999 (patch) | |
tree | a17ffdf744858ae253c12ab4bf61373e8eedb4d8 /src/multimedia/video | |
parent | f2af5faf51ab7c82e1f40c4ae7e1ae0313c1fbe5 (diff) |
Make QAbstractVideoSurface::isFormatSupported() non virtual
We're never using it, and in any case it should always be
consistent with supportedPixelFormats(), so that one method
should be enough.
Change-Id: I9eebc479093a614db426ce47447eed9d968da3be
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/video')
-rw-r--r-- | src/multimedia/video/qabstractvideosurface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/video/qabstractvideosurface.h b/src/multimedia/video/qabstractvideosurface.h index 48877ecc0..f47b7ac69 100644 --- a/src/multimedia/video/qabstractvideosurface.h +++ b/src/multimedia/video/qabstractvideosurface.h @@ -69,7 +69,7 @@ public: virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats( QVideoFrame::HandleType type = QVideoFrame::NoHandle) const = 0; - virtual bool isFormatSupported(const QVideoSurfaceFormat &format) const; + bool isFormatSupported(const QVideoSurfaceFormat &format) const; QVideoSurfaceFormat surfaceFormat() const; |