summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-08-18 16:53:14 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-08-18 16:53:14 +0000
commitc831aef4958834733bffe44941c5b8c12f51d40f (patch)
treed80abf5f7645f85de63ca61e2e952dafb2cbfda0 /gst/rtsp/gstrtspsrc.h
parent9a5c8cd25ef8fe33fb8b189f88725bfac5c68768 (diff)
gst/rtsp/: Handle RTSP defaults better.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause), (gst_rtspsrc_change_state): * gst/rtsp/gstrtspsrc.h: * gst/rtsp/rtspdefs.c: (rtsp_method_as_text), (rtsp_find_method): * gst/rtsp/rtspdefs.h: * gst/rtsp/rtsptransport.c: (rtsp_transport_parse): Handle RTSP defaults better. Issue OPTIONS request to figure out what we are allowed to do. Make the methods a bitfield so we can easily collect supported options. Fix rtsp_find_method. Do proper RTSP connection shutdown.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index 1cc1bb5c..89604d2e 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -88,6 +88,8 @@ struct _GstRTSPSrc {
gboolean debug;
GstRTSPProto protocols;
+ /* supported options */
+ gint options;
RTSPConnection *connection;
RTSPMessage *request;