Gst player backend: removed fifo based stream playback fallback

It was used on systems without appsrc element support,
but since the appsrc is part of base elements for a long,
thre is a very little value in fifo based fallback.

Change-Id: I162233cbb55821443c892f00ebd29c0498ae7152
Reviewed-by: Ling Hu <ling.hu@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Dmytro Poplavskiy
2012-07-19 15:40:42 +10:00
committed by Qt by Nokia
parent 6854f07257
commit f844d6d9da
3 changed files with 5 additions and 137 deletions

View File

@@ -111,9 +111,6 @@ public Q_SLOTS:
void setMuted(bool muted);
private Q_SLOTS:
void writeFifo();
void fifoReadyWrite(int socket);
void updateSessionState(QMediaPlayer::State state);
void updateMediaStatus();
void processEOS();
@@ -128,8 +125,6 @@ private Q_SLOTS:
void handleResourcesDenied();
private:
bool openFifo();
void closeFifo();
void playOrPause(QMediaPlayer::State state);
void pushState();
@@ -149,12 +144,6 @@ private:
bool m_setMediaPending;
QMediaContent m_currentResource;
QIODevice *m_stream;
QSocketNotifier *m_fifoNotifier;
int m_fifoFd[2];
bool m_fifoCanWrite;
int m_bufferSize;
int m_bufferOffset;
char m_buffer[PIPE_BUF];
QMediaPlayerResourceSetInterface *m_resources;
};