Fix playback problem with RTSP streaming for QMediaPlayer(gstreamer)

Change-Id: Ie920cbb5a377e810aee3e106bb50deb46365ce3b
Reviewed-by:Michael Goddard
(cherry picked from commit 05841ae6a9e0ffac623f9b00565bf33a52a22ecd)
Reviewed-on: http://codereview.qt.nokia.com/983
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
Ling Hu
2011-06-28 13:49:57 +10:00
committed by Qt by Nokia
parent d502dec456
commit ca25844e52
3 changed files with 34 additions and 3 deletions

View File

@@ -112,6 +112,8 @@ public:
static void configureAppSrcElement(GObject*, GObject*, GParamSpec*,QGstreamerPlayerSession* _this);
#endif
bool isLiveSource() const;
public slots:
void loadFromUri(const QNetworkRequest &url);
void loadFromStream(const QNetworkRequest &url, QIODevice *stream);
@@ -208,10 +210,12 @@ private:
UnknownSrc,
SoupHTTPSrc,
UDPSrc,
MMSSrc
MMSSrc,
RTSPSrc,
};
SourceType m_sourceType;
bool m_everPlayed;
bool m_isLiveSource;
};
#endif // QGSTREAMERPLAYERSESSION_H