equal
deleted
inserted
replaced
106 |
106 |
107 private Q_SLOTS: |
107 private Q_SLOTS: |
108 void writeFifo(); |
108 void writeFifo(); |
109 void fifoReadyWrite(int socket); |
109 void fifoReadyWrite(int socket); |
110 |
110 |
|
111 void updateState(QMediaPlayer::State); |
|
112 void processEOS(); |
|
113 void setBufferProgress(int progress); |
|
114 |
111 private: |
115 private: |
112 bool openFifo(); |
116 bool openFifo(); |
113 void closeFifo(); |
117 void closeFifo(); |
114 |
118 |
115 QGstreamerPlayerSession *m_session; |
119 QGstreamerPlayerSession *m_session; |
|
120 QMediaPlayer::State m_state; |
|
121 QMediaPlayer::MediaStatus m_mediaStatus; |
|
122 int m_bufferProgress; |
116 QMediaContent m_currentResource; |
123 QMediaContent m_currentResource; |
117 QIODevice *m_stream; |
124 QIODevice *m_stream; |
118 QSocketNotifier *m_fifoNotifier; |
125 QSocketNotifier *m_fifoNotifier; |
119 int m_fifoFd[2]; |
126 int m_fifoFd[2]; |
120 bool m_fifoCanWrite; |
127 bool m_fifoCanWrite; |