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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user