diff options
author | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-10-28 12:23:15 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-11-06 09:50:28 +0100 |
commit | cb8f5067a2fdf73f4f5b71ab3c7bcc65dc13c387 (patch) | |
tree | 7c4cb1985e23de597a7627d0a360d4a7ed30e130 /src/plugins/gstreamer/camerabin/camerabinzoom.cpp | |
parent | 59d0683c999bec5612f6ba91867bde4d02185204 (diff) |
Introduce rendering to multiple surfaces
QAbstractVideoSurface is used to retrieve and render video frames
in particular pixel format.
I.e. a backend takes one video surface which asks to provide video frames
in one of the supported formats returned from QAbstractVideoSurface::supportedPixelFormats().
So currently there is one source of the video frames and only one video output possible.
Introducing QMediaPlayer::setVideoOutput(const QVector<QAbstractVideoSurface *> &)
This func takes a list of surfaces, that support at least one shared pixel format,
and presents video frames to all of them at the same time.
Several surfaces, which do not have any shared pixel formats, will fail to work.
Task-number: QTBUG-32939
Change-Id: Ifbdaf692755353fbd5bf3ad74baba1820e3d0237
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinzoom.cpp')
0 files changed, 0 insertions, 0 deletions