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
commit827051f94c8dc7be6c83b87088d4a23df14e065e (patch)
tree9a29d6fe7f9d6d29744af2e52fdd5eed1523cd64
parent72def95c8a949c7f855894c225472cd84dcbf443 (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