summaryrefslogtreecommitdiffstats
path: root/demos/qmediaplayer/mediaplayer.h
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-12-02 16:11:29 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-12-08 13:07:19 (GMT)
commit946dede337f0a43ccb394c10aa2045bc9ef59301 (patch)
treee45b4657ff1775a0e125a0d9ed677ed908e0b351 /demos/qmediaplayer/mediaplayer.h
parent66b765734585971dd9d248059701fdecebbccd78 (diff)
downloadQt-946dede337f0a43ccb394c10aa2045bc9ef59301.zip
Qt-946dede337f0a43ccb394c10aa2045bc9ef59301.tar.gz
Qt-946dede337f0a43ccb394c10aa2045bc9ef59301.tar.bz2
Mediaplayer: enqueue all entries from .ram file before starting playback
This ensures that Phonon::MediaObject::setNextSource is called before the first clip finishes playback, and therefore that the next clip is played once the first finishes. Reviewed-by: Frans Englich
Diffstat (limited to 'demos/qmediaplayer/mediaplayer.h')
-rw-r--r--demos/qmediaplayer/mediaplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/qmediaplayer/mediaplayer.h b/demos/qmediaplayer/mediaplayer.h
index 14ed4ac..fc1bd90 100644
--- a/demos/qmediaplayer/mediaplayer.h
+++ b/demos/qmediaplayer/mediaplayer.h
@@ -112,6 +112,7 @@ public:
void dropEvent(QDropEvent *e);
void handleDrop(QDropEvent *e);
void setFile(const QString &text);
+ void setLocation(const QString &location);
void initVideoWindow();
void initSettingsDialog();