summaryrefslogtreecommitdiff
path: root/src/plugins/avfoundation/camera/avfmediarecordercontrol.mm
diff options
context:
space:
mode:
authorOliver Wolff <Oliver.Wolff@qt.io>2018-06-22 08:12:37 +0200
committerOliver Wolff <oliver.wolff@qt.io>2018-06-22 07:23:51 +0000
commite2fb22c15a53372f768aa362c37caa0d6f4b57c8 (patch)
treee06c3cdd4c06e08acc7d3fa28b96206212a9230b /src/plugins/avfoundation/camera/avfmediarecordercontrol.mm
parentbc8f1704fcbeb07fe88970521301c57f33d0ca5f (diff)
downloadqtmultimedia-e2fb22c15a53372f768aa362c37caa0d6f4b57c8.tar.gz
winrt: Obtain new camera sample format and size on camera change
By Resetting d->cameraSampleformat to Format_User when the selected video device is changed we make QWinRTCameraVideoRendererControl reobtain the camera sample format and size during the next call of queueBuffer. This is needed as the new camera might have other values for these, which might result in a white screen after a camera change. Task-number: QTBUG-67417 Change-Id: I29e28ddf4fc278aff00ad824bda61aedad91471d Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/plugins/avfoundation/camera/avfmediarecordercontrol.mm')
0 files changed, 0 insertions, 0 deletions