Android: camera moved to a dedicated thread
authorDenis Kormalev <kormalev.denis@gmail.com>
Mon, 16 Dec 2013 08:54:17 +0000 (12:54 +0400)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 23 Dec 2013 11:17:58 +0000 (12:17 +0100)
commita0df6c38364c87001258fe9f2375a2bd34ce4cfc
tree9293770f5b9a1cc7c303278db993ca2a3e2fae5a
parentecce937a054e4a96597cb13c40d216bddbd45891
Android: camera moved to a dedicated thread

Actual camera work moved to JCameraWorker which lives in dedicated
thread. JCamera now acts as proxy calling JCameraWorker methods with
invokeMethod (when it is needed).

[ChangeLog][QtMultimedia][Android] camera operations moved to a
dedicated thread

Task-number: QTBUG-35564
Change-Id: Ie4edcbf0869d56b0fef4ad0c820450cc77657fdd
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/android/src/mediacapture/qandroidcamerasession.cpp
src/plugins/android/src/mediacapture/qandroidcamerasession.h
src/plugins/android/src/wrappers/jcamera.cpp
src/plugins/android/src/wrappers/jcamera.h
src/plugins/android/src/wrappers/jmediarecorder.cpp