diff options
author | Piotr Srebrny <piotr.srebrny@qt.io> | 2022-11-03 18:44:56 +0100 |
---|---|---|
committer | Piotr Srebrny <piotr.srebrny@qt.io> | 2022-11-07 12:54:09 +0100 |
commit | fe2e90b6e3b61671b94c9e517ce736fba995f3ef (patch) | |
tree | af329bdc13388c4e4ade0586eb61ac693c87542f /src/multimedia/playback | |
parent | bd2e80867e4e04fff277cf7340747630d2ea55a4 (diff) |
Remove commented API for setting set of QVideoSink as output for player
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
Pick-to: 6.4 6.3 6.2
Change-Id: I751f9cac4a02d9d97c5c386f814cc9391ae73c69
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/multimedia/playback')
-rw-r--r-- | src/multimedia/playback/qmediaplayer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/multimedia/playback/qmediaplayer.h b/src/multimedia/playback/qmediaplayer.h index 58a6dc569..8e92cf3f2 100644 --- a/src/multimedia/playback/qmediaplayer.h +++ b/src/multimedia/playback/qmediaplayer.h @@ -110,9 +110,6 @@ public: void setVideoOutput(QObject *); QObject *videoOutput() const; -#if 0 - void setVideoOutput(const QList<QVideoSink *> &sinks); -#endif void setVideoSink(QVideoSink *sink); QVideoSink *videoSink() const; |