diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-12-02 16:20:00 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2009-12-08 13:07:30 (GMT) |
commit | 89e1e7fcbcbe93d8096afe0f7c240fe706cc9069 (patch) | |
tree | 2e47fde0386d04d42d6aadf09c824ea10b72da5f /src/3rdparty/phonon/mmf/mmf_videoplayer.h | |
parent | 946dede337f0a43ccb394c10aa2045bc9ef59301 (diff) | |
download | Qt-89e1e7fcbcbe93d8096afe0f7c240fe706cc9069.zip Qt-89e1e7fcbcbe93d8096afe0f7c240fe706cc9069.tar.gz Qt-89e1e7fcbcbe93d8096afe0f7c240fe706cc9069.tar.bz2 |
Implemented support for playlist handling in Phonon MMF backend
The main changes are:
1. MediaObject emits prefinishMark at the appropriate instant
2. MediaObject emits aboutToFinish at the appropriate instant
3. MediaObject switches to next source when playback completes
Task-number: QTBUG-6214
Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/phonon/mmf/mmf_videoplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/mmf_videoplayer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.h b/src/3rdparty/phonon/mmf/mmf_videoplayer.h index 3ece19c..6200e39 100644 --- a/src/3rdparty/phonon/mmf/mmf_videoplayer.h +++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.h @@ -44,8 +44,7 @@ class VideoPlayer : public AbstractMediaPlayer Q_OBJECT public: - VideoPlayer(); - explicit VideoPlayer(const AbstractPlayer& player); + VideoPlayer(MediaObject *parent = 0, const AbstractPlayer *player = 0); virtual ~VideoPlayer(); // AbstractPlayer |