summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video
diff options
context:
space:
mode:
authorsanevala <samuel.nevala@digia.com>2013-02-12 12:13:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-19 13:50:32 +0100
commit5b57edae2aaca50d0c2642908046ad21ef956720 (patch)
treea446cae8032a083b001fe93fd68f9a5aca8f8e15 /examples/multimedia/video
parent7518489a2ba7f24183a4d8ee47c9ea20573fa24a (diff)
Video has ended UI say tap to stop.
Loop video infinetely so tap to stop & start state is correct. Change-Id: I56af6eb00fcc7811cc25099df3c7fa47f429a3e6 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'examples/multimedia/video')
-rw-r--r--examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml
index b04636ae1..1f7909490 100644
--- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml
+++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml
@@ -62,6 +62,7 @@ VideoOutput {
MediaPlayer {
id: mediaPlayer
autoLoad: false
+ loops: Audio.Infinite
onError: {
if (MediaPlayer.NoError != error) {