Android: wait to have a valid video surface before loading a media.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 5 Jul 2013 14:26:55 +0000 (16:26 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 9 Jul 2013 07:41:32 +0000 (09:41 +0200)
commit5e7e8e04d1be82e23f69e2966d355b4aa8d93442
treea497a943e7cb833bff339b4b448f06c054226c1b
parent1dfbe44d90fb0a13f67642ca61a64c91f8322e9f
Android: wait to have a valid video surface before loading a media.

Setting the video surface on the Android media player after it has
loaded the media doesn't work on some hardware.

Change-Id: I5e621a34ace9de458bfc65bfac8fa50c29cee9a5
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/mediaplayer/qandroidmediaplayercontrol.cpp
src/plugins/android/mediaplayer/qandroidmediaplayercontrol.h
src/plugins/android/mediaplayer/qandroidvideooutput.h
src/plugins/android/mediaplayer/qandroidvideorendercontrol.cpp
src/plugins/android/mediaplayer/qandroidvideorendercontrol.h