Android: fix camera preview showing black frames after restarting it.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 25 Oct 2013 13:07:02 +0000 (15:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 29 Oct 2013 19:26:24 +0000 (20:26 +0100)
commit30cf028fb158f08bc01357476f73426c43c35b4e
tree739ded1e10dda1d91d7cb6e6246a048e84552202
parentacbd998749db4c09801647b21fcb081937160e3a
Android: fix camera preview showing black frames after restarting it.

Clear the camera preview size when stopping the preview in order to
force it to be reset when starting it again.

Task-number: QTBUG-34346
Change-Id: I0edf8d996348745b9aa7cf0790c16b6cd813b33b
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/mediacapture/qandroidcamerafocuscontrol.cpp
src/plugins/android/src/mediacapture/qandroidcamerasession.cpp
src/plugins/android/src/wrappers/jcamera.cpp