summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorVal Doroshchuk <valentyn.doroshchuk@qt.io>2019-03-28 14:52:00 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-04-03 09:17:16 +0000
commit110dd5b405ce4f8146da4430e3180833610712ad (patch)
tree76eeb8770c86f399c84995e4dcd207572be2882d /tests/auto
parent82601d8b43faf560373b73674087955dcf427ead (diff)
Android: Fix status of QMediaRecorder after start/stop
If the camera is ready for capture -> QMediaRecorder::LoadedStatus. If CaptureVideo is changed to CaptureStillImage -> StoppedState and UnloadedStatus. If camera's status is StoppingStatus -> StoppedState and UnloadedStatus. If camera's status is LoadingStatus -> LoadingStatus. If recording is requested -> RecordingState and RecordingStatus. If recording is audio-only -> immediately LoadedStatus, before start and after stop. Fixes tst_QCameraBackend::testVideoRecording Task-number: QTBUG-73582 Change-Id: I976c4e3afab529e0949571c4002e9ceba74cac97 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions