diff options
Diffstat (limited to 'src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h')
-rw-r--r-- | src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h index e6fa996b0..26b027a41 100644 --- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h +++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h @@ -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 |