diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-06-08 13:37:21 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-07 12:21:25 (GMT) |
commit | 50fbb9d19b3f524361c146de8ff0fb2fe6abacc9 (patch) | |
tree | 747739b75b1cac36b3f483972ca0f9a1ff6529d0 /src/3rdparty/phonon/mmf/dummyplayer.h | |
parent | 80af9a7b09b531a849b863695b244dd1df7dfb1d (diff) | |
download | Qt-50fbb9d19b3f524361c146de8ff0fb2fe6abacc9.zip Qt-50fbb9d19b3f524361c146de8ff0fb2fe6abacc9.tar.gz Qt-50fbb9d19b3f524361c146de8ff0fb2fe6abacc9.tar.bz2 |
Close media clip before creating new player object
Failure to Close() an existing MMF player utility object before
creating a new one - which happens in the MMF backend's implementation
of Phonon::MediaObject::setCurrentSource() - causes intialization of the
newly-created utility to fail later on.
Task-number: QTBUG-11377
Reviewed-by: Thierry Bastian
Diffstat (limited to 'src/3rdparty/phonon/mmf/dummyplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/dummyplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/dummyplayer.h b/src/3rdparty/phonon/mmf/dummyplayer.h index 6841b5d..9d45696 100644 --- a/src/3rdparty/phonon/mmf/dummyplayer.h +++ b/src/3rdparty/phonon/mmf/dummyplayer.h @@ -58,6 +58,7 @@ public: // AbstractPlayer virtual void open(const Phonon::MediaSource&, RFile&); + virtual void close(); virtual void doSetTickInterval(qint32 interval); }; } |