summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-22 20:22:22 +0100
committerLars Knoll <lars.knoll@qt.io>2021-04-06 08:10:44 +0000
commitbf3497a954aa978f60ad687637c36438cfd7d300 (patch)
treebe503b0a27aa42baea3dfdc0cd6407ac5832e5f3 /src/multimedia/video
parentcb43c7110b6df863c57fed53772c1584d5d7355c (diff)
Clean up most QAbstractVideoSurface usages
The class is scheduled to be removed, once all it's usages are gone. QVideoSink is the replacement going forward. Change-Id: Idc0a4133496839bf9f95aa9bcf7d6d37cacd549b 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/qvideoframe.cpp3
-rw-r--r--src/multimedia/video/qvideosink.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/multimedia/video/qvideoframe.cpp b/src/multimedia/video/qvideoframe.cpp
index 2f72a4e11..6f57ffed6 100644
--- a/src/multimedia/video/qvideoframe.cpp
+++ b/src/multimedia/video/qvideoframe.cpp
@@ -150,8 +150,7 @@ private:
texture handle).
A video frame can also have timestamp information associated with it. These timestamps can be
- used by an implementation of \l QAbstractVideoSurface to determine when to start and stop
- displaying the frame, but not all surfaces might respect this setting.
+ used to determine when to start and stop displaying the frame.
The video pixel data in a QVideoFrame is encapsulated in a QAbstractVideoBuffer. A QVideoFrame
may be constructed from any buffer type by subclassing the QAbstractVideoBuffer class.
diff --git a/src/multimedia/video/qvideosink.h b/src/multimedia/video/qvideosink.h
index 62f21fba7..ec89c425d 100644
--- a/src/multimedia/video/qvideosink.h
+++ b/src/multimedia/video/qvideosink.h
@@ -68,7 +68,7 @@ public:
Vulkan
};
- QVideoSink(QObject *parent);
+ QVideoSink(QObject *parent = nullptr);
~QVideoSink();
GraphicsType graphicsType() const;