Android: fix calling start() and stop() on the video surface.
authorYoann Lopes <yoann.lopes@digia.com>
Mon, 19 May 2014 10:48:59 +0000 (12:48 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 30 May 2014 12:46:13 +0000 (14:46 +0200)
commit92096afdb496eaf5c4458155f7b1740a0dbb68bf
tree9708a0dbf72e409cd27be3fbb38b04a6827e75ed
parent7e668fe58fc9546eb91bbf39992566f709b5e6c2
Android: fix calling start() and stop() on the video surface.

We restart the surface when the frame size changes, though we were
not using the correct function to get the surface's current frame size.
This was causing start() and stop() to be called for every frame.

Change-Id: I8ff4b4852cb7fcc92ac3b1b3ad7bf991d7bddc6b
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/common/qandroidvideorendercontrol.cpp