summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/abstractmediaplayer.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-08-20 16:24:55 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-08-20 16:24:55 (GMT)
commit2150242ddbe66c5d4c440599f1282580be013e61 (patch)
treed0eefc4aa67a121987f8b74822e558603d3cedc1 /src/3rdparty/phonon/mmf/abstractmediaplayer.h
parentee990e2ed366a16605afb6a13edd9c59b1bcc33d (diff)
downloadQt-2150242ddbe66c5d4c440599f1282580be013e61.zip
Qt-2150242ddbe66c5d4c440599f1282580be013e61.tar.gz
Qt-2150242ddbe66c5d4c440599f1282580be013e61.tar.bz2
Started fleshing out the VideoPlayer implementation
Now loads, prepares and plays a clip, but the video is not visible because it's not yet wired up to a VideoWidget. Video 'playback' can be tested using the demos/mediaplayer application, but the menus are not displayed properly, so a video clip filename must be hardcoded in main.cpp and passed to the MediaPlayer constructor.
Diffstat (limited to 'src/3rdparty/phonon/mmf/abstractmediaplayer.h')
-rw-r--r--src/3rdparty/phonon/mmf/abstractmediaplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/abstractmediaplayer.h b/src/3rdparty/phonon/mmf/abstractmediaplayer.h
index 0c233c9..9e0d3c8 100644
--- a/src/3rdparty/phonon/mmf/abstractmediaplayer.h
+++ b/src/3rdparty/phonon/mmf/abstractmediaplayer.h
@@ -127,6 +127,13 @@ namespace Phonon
PrivateState m_state;
Phonon::ErrorType m_error;
+ /**
+ * This flag is set to true if play is called when the object is
+ * in a Loading state. Once loading is complete, playback will
+ * be started.
+ */
+ bool m_playPending;
+
QScopedPointer<QTimer> m_tickTimer;
int m_mmfMaxVolume;