Android: correctly report QMediaRecorder status.
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 13 Mar 2014 15:19:04 +0000 (16:19 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 17 Mar 2014 12:47:04 +0000 (13:47 +0100)
commit29ba8cf4c417d7c2ff9f2815bdc49c97215283a3
tree54ebffbf396dc8e8a1b11f9599a4ad10a75e67da
parentd7533fd9357ad9452ff094231307edd30da33a88
Android: correctly report QMediaRecorder status.

QMediaRecorder should have the LoadedStatus before starting recording.
When recording the camera, the recorder should be considered loaded
when all prerequisites are met (viewfinder started, recording mode set
to video and capture ready).

Task-number: QTBUG-36828
Change-Id: I3279bdfdc2b361c7e0707c52e74ae47e0bb4a93d
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/mediacapture/qandroidcapturesession.cpp
src/plugins/android/src/mediacapture/qandroidcapturesession.h