Android: use correct format when capturing a picture to a buffer.
authorYoann Lopes <yoann.lopes@digia.com>
Wed, 6 Nov 2013 13:27:00 +0000 (14:27 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Nov 2013 13:28:16 +0000 (14:28 +0100)
commit301baf2b689bfdcc21a374b8831765a3fa63a174
tree3a18297af8bfb07ab8528cc40ce12259927b9566
parent2412c298d4e8c112a63eb1e3ec9b5f2789bd3eeb
Android: use correct format when capturing a picture to a buffer.

Don't decode the JPEG data to raw RGB using QImage. QCameraImageCapture
reports anyway that JPEG is the only supported buffer format.

Change-Id: Ib17760e4361b004775c002b686ef7529b3768aab
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/mediacapture/qandroidcamerasession.cpp
src/plugins/android/src/mediacapture/qandroidcamerasession.h