summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-02-04 11:38:30 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-02-04 11:38:30 +0100
commit1dc5c341432f17f5b33c055fc5eae66ef52840f6 (patch)
tree45bb7113a3e194c7ccf55d9543a4086fe42811b2 /gst/rtsp/gstrtspsrc.h
parent7353cdc02960b207433a31489c91f618b15f725d (diff)
rtspsrc: Keep track of connected state
Keep track of the state of the connection and don't try to send TEARDOWN when the server has closed the connection.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index 2f16cf0f..95dd9869 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -204,6 +204,7 @@ struct _GstRTSPSrc {
gulong session_ptmap_id;
GstRTSPConnection *connection;
+ gboolean connected;
/* a list of RTSP extensions as GstElement */
GstRTSPExtensionList *extensions;