summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-03 22:59:44 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-03 22:59:44 (GMT)
commit5ac068602871b78eb4b58634d58e6b8898acbf8d (patch)
tree0bbbf13392abbb723e4e496a8c0a640e99ef726a /src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h
parent89e29d1f7a61f5cfa15cbce9b225a9d9ee9b4b7f (diff)
parent1a7df5ef1fc81fbf2d548c40e3feeb8ef3bb5a8c (diff)
downloadQt-5ac068602871b78eb4b58634d58e6b8898acbf8d.zip
Qt-5ac068602871b78eb4b58634d58e6b8898acbf8d.tar.gz
Qt-5ac068602871b78eb4b58634d58e6b8898acbf8d.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h')
-rw-r--r--src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h b/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h
index ae0f8b6..0c53945 100644
--- a/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h
+++ b/src/plugins/mediaservices/gstreamer/mediaplayer/qgstreamerplayercontrol.h
@@ -107,11 +107,18 @@ private Q_SLOTS:
void writeFifo();
void fifoReadyWrite(int socket);
+ void updateState(QMediaPlayer::State);
+ void processEOS();
+ void setBufferProgress(int progress);
+
private:
bool openFifo();
void closeFifo();
QGstreamerPlayerSession *m_session;
+ QMediaPlayer::State m_state;
+ QMediaPlayer::MediaStatus m_mediaStatus;
+ int m_bufferProgress;
QMediaContent m_currentResource;
QIODevice *m_stream;
QSocketNotifier *m_fifoNotifier;