summaryrefslogtreecommitdiffstats
path: root/src/plugins/avfoundation/mediaplayer
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-02-17 15:32:25 +0100
committerVal Doroshchuk <valentyn.doroshchuk@qt.io>2020-02-18 15:54:23 +0100
commitaec140743b1a4110c327c46bdfbf15fcddb2dd17 (patch)
treee10af1522b7f93f9177f05e8dcc07521bb92b5af /src/plugins/avfoundation/mediaplayer
parent7e64b859b6a663f42ee3067930ef132d9e7d2901 (diff)
AVF: Fix applying viewfinder settings for iOS
1. If a resolution of the viewfinder is requested to be changed, it is not needed to check available formats for highResolutionStillImageDimensions (since it is viewfinder resolution and not still images). format.highResolutionStillImageDimensions returns the highest resolution still image that can be produced by the format. Using this format will cause wrong resolution in the viewfinder. 2. Seems iOS requires to call beginConfiguration/commitConfiguration to apply any changes. commitConfiguration is currently called when the camera gets active. In case if settings are changed after starting the camera, they will not be applied. To fix that, added beginConfiguration/commitConfiguration. Fixes: QTBUG-79935 Change-Id: I60b6e08887a82e4337a2a302b8e5513c65b26e61 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/avfoundation/mediaplayer')
0 files changed, 0 insertions, 0 deletions