diff options
authorPiotr Srebrny <>2022-11-03 18:44:56 +0100
committerQt Cherry-pick Bot <>2022-11-07 12:40:47 +0000
commit5dcff84a97f0732f3eb4038bccc1baf878570521 (patch)
parent27d8a5bdf9a7c433f20b87958bc26580ba92533d (diff)
Remove commented API for setting set of QVideoSink as output for player6.3
Reintroducing this API is non-trivial as the current video sink is the main surface that media player and camera view finder render to and depend on. Media player sets up its rendering pipeline to use the rendering hardware associated with the video sink. Thus, when using multiple sinks, one must be selected. Hence, this API does not match well the underlying system. Displaying video in multiple video sinks is easy to achieve with the technique described in the related QTBUG. Fixes: QTBUG-95127 Change-Id: I751f9cac4a02d9d97c5c386f814cc9391ae73c69 Reviewed-by: Lars Knoll <> (cherry picked from commit fe2e90b6e3b61671b94c9e517ce736fba995f3ef) Reviewed-by: Qt Cherry-pick Bot <>
1 files changed, 0 insertions, 3 deletions
diff --git a/src/multimedia/playback/qmediaplayer.h b/src/multimedia/playback/qmediaplayer.h
index 0ccb0eaaf..d3e0139f6 100644
--- a/src/multimedia/playback/qmediaplayer.h
+++ b/src/multimedia/playback/qmediaplayer.h
@@ -146,9 +146,6 @@ public:
void setVideoOutput(QObject *);
QObject *videoOutput() const;
-#if 0
- void setVideoOutput(const QList<QVideoSink *> &sinks);
void setVideoSink(QVideoSink *sink);
QVideoSink *videoSink() const;