summaryrefslogtreecommitdiffstats
path: root/src/plugins/android/src/common/qandroidvideooutput.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2014-02-20 14:25:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-21 00:31:17 +0100
commitdcf11bba3ccfd2a2a44556b1947406947aaa2be1 (patch)
treea138cb2ba0c668b56df82e9e93e7a99d61771bf2 /src/plugins/android/src/common/qandroidvideooutput.h
parentddd22fab2bb26cd452edc1b8fc0c0750a7c52ae5 (diff)
Android: Make the Mediaplayer more robust
In some cases the the Android media player would get into a unexpected state and we where then not able to recover. With this patch we monitor the state changes more closely and recover when possible. Task-number: QTBUG-35651 Change-Id: I142c63fbbf716d3f94ebdcf016a7cadad7b13207 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/android/src/common/qandroidvideooutput.h')
-rw-r--r--src/plugins/android/src/common/qandroidvideooutput.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/android/src/common/qandroidvideooutput.h b/src/plugins/android/src/common/qandroidvideooutput.h
index 6e4a32e3f..8bf6be6cb 100644
--- a/src/plugins/android/src/common/qandroidvideooutput.h
+++ b/src/plugins/android/src/common/qandroidvideooutput.h
@@ -60,6 +60,7 @@ public:
virtual void setVideoSize(const QSize &) { }
virtual void stop() { }
+ virtual void reset() { }
// signals:
// void readyChanged(bool);