Commit c24c3b17 authored by Yoann Lopes's avatar Yoann Lopes Committed by The Qt Project
Browse files

Android: fix QMediaRecorder failing to start in some cases.


Because camera operations are performed in a dedicated thread, starting
a recorder was sometimes failing because the camera was not yet ready
(unlocking it was not done yet). Camera locking and unlocking are now
synchronous operations.

Change-Id: I92c3c2f3666b63e7451e4ee1ab89dcbc85ae6c24
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent d204391c
Showing with 6 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment