summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@qt.io>2022-03-23 10:06:43 +1000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-23 14:09:02 +0000
commit26c5d4ba1c0a08646a05fc927e4f73c8747b1866 (patch)
treee9642a0df5f632ef21da0dc98d339993ce5247ae
parent5b986fd5c7d36b4fb2a4374daeac0093efe2bb92 (diff)
QVideoSink: update documentation
Remove reference to the "native window mode of operation", as it is no longer supported since at least Qt 6.2. Change-Id: I7e553ddccd45b4c8b134ba058ade34f064fb5a24 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit ba7a6634e3e5387803aa72e7f9f243f550fae256) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/multimedia/video/qvideosink.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/multimedia/video/qvideosink.cpp b/src/multimedia/video/qvideosink.cpp
index 35971c72c..f70763157 100644
--- a/src/multimedia/video/qvideosink.cpp
+++ b/src/multimedia/video/qvideosink.cpp
@@ -93,10 +93,8 @@ public:
The QVideoSink class can be used to retrieve video data on a frame by frame
basis from Qt Multimedia.
- QVideoSink can operate in two modes. In the first mode, it can render the video
- stream to a native window of the underlying windowing system. In the other mode,
- it will provide individual video frames to the application developer through the
- videoFrameChanged() signal.
+ QVideoSink will provide individual video frames to the application developer
+ through the videoFrameChanged() signal.
The video frame can then be used to read out the data of those frames and handle them
further. When using QPainter, the QVideoFrame can be drawing using the paint() method