summaryrefslogtreecommitdiffstats
path: root/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@digia.com>2014-09-19 09:53:53 +0200
committerYoann Lopes <yoann.lopes@digia.com>2014-09-26 14:26:58 +0200
commitec245921865eda2bc57397c1979c92fa10adfd98 (patch)
treedefd9970f1c3f8b16b69e18ff49be445c305f642 /src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h
parent5c30ed55ef41ea85232f63c7ee4fd52a4e7126e2 (diff)
Android: fix some problems with the media player.
- Correctly emit positionChanged signal. One of the problems with this was that QMediaPlayer automatically sends periodic position updates while playing a media. There's no need to have the same logic in the backend. - Seeking after reaching the end of the media now correctly works Auto tests included. Change-Id: I6d5ecbae6e05f94a8aac1a0834cf57427adf219b Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Diffstat (limited to 'src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h')
-rw-r--r--src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h
index 7de0c2dcf..64b88f49e 100644
--- a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h
+++ b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.h
@@ -111,6 +111,7 @@ private:
bool mPendingSetMedia;
int mPendingVolume;
int mPendingMute;
+ bool mReloadingMedia;
QScopedPointer<QTemporaryFile> mTempFile;
int mActiveStateChangeNotifiers;