diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-02-19 14:38:17 +0100 |
---|---|---|
committer | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-03-03 13:32:21 +0100 |
commit | cdb568606b9eab946c2cacff374a911dc4cfd2f0 (patch) | |
tree | a4d3b9eb59074f9e92468ace062b30e57191ac99 /src/plugins/gstreamer/camerabin/camerabinsession.cpp | |
parent | b1430b9e60c51b326fd6eaf1b001916b3b8471f5 (diff) |
AVF: Use supported pixel formats from video surface in Camera
QAbstractVideoSurface is waiting for the video frames in supported
pixel formats. See QAbstractVideoSurface::supportedPixelFormats().
If the surface does not support device's pixel format,
don't show the camera's viewfinder and don't return video frames
in unsupported formats.
Task-number: QTBUG-82264
Change-Id: I084674f4b093a751bc4f4941047b979766880963
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinsession.cpp')
0 files changed, 0 insertions, 0 deletions