diff options
author | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-04-21 18:07:19 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2015-04-23 18:39:08 +0000 |
commit | bcaec9624c9124dc256ad963d5735496e219414a (patch) | |
tree | 61a759b0699674db0caf82e0021486ca45faf847 /.qmake.conf | |
parent | 6fe3061c1f6b7438d20c7bfb92c7652cedc5b049 (diff) |
AVFoundation: fix microphone permission when using the camera.
The microphone permission was always requested when using the camera,
even when not actually using the microphone, which can only happen when
recording a video. The permission request is triggered by adding an
audio AVCaptureDeviceInput to the AVCaptureSession, which was done when
setting the camera to LoadedState. This is now done when setting the
camera mode to CaptureVideo.
Task-number: QTBUG-45659
Change-Id: I3692797128cfb70ba5ccbc7a36b6955471039e80
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions