Android: fix some MediaPlayer signals not being emitted on first load.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Thu, 26 Feb 2015 15:16:49 +0000 (16:16 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 4 Mar 2015 16:36:04 +0000 (16:36 +0000)
commit95e9155b7f290d438dfd986fca7f9a26698cf691
treead603558df8f9e04cbceba50255cc20aec744990
parentf39d8b73ee36de7dea09c2acdc9853d821cb1f93
Android: fix some MediaPlayer signals not being emitted on first load.

When loading the first media while the video output was not yet ready,
mediaChanged() and mediaStatusChanged() signals were not emitted.
That's because in that particular situation, the backend believed
the delayed loading was a reload of the same media.

Change-Id: If5dfbf383ea2dac065fc26b70640ebfb2c52862d
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp