From a8ee445da6ff59bbe89b67b5133f1e3aa574bae2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 27 Jul 2007 11:21:20 +0000 Subject: gst/rtsp/: Clean up the interface list. Original commit message from CVS: * gst/rtsp/gstrtspext.c: (gst_rtsp_ext_list_free), (gst_rtsp_ext_list_connect): * gst/rtsp/gstrtspext.h: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize), (gst_rtspsrc_send_cb): Clean up the interface list. Allow connecting to interface signals for the extensions. Remove old extension code. Free list on cleanup. Allow extensions to send additional RTSP messages. --- gst/rtsp/gstrtspext.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gst/rtsp/gstrtspext.h') diff --git a/gst/rtsp/gstrtspext.h b/gst/rtsp/gstrtspext.h index b02b9bb8..fa7f6892 100644 --- a/gst/rtsp/gstrtspext.h +++ b/gst/rtsp/gstrtspext.h @@ -58,6 +58,7 @@ struct _GstRTSPExtensionList void gst_rtsp_ext_list_init (void); GstRTSPExtensionList * gst_rtsp_ext_list_get (void); +void gst_rtsp_ext_list_free (GstRTSPExtensionList *ext); gboolean gst_rtsp_ext_list_detect_server (GstRTSPExtensionList *ext, GstRTSPMessage *resp); @@ -72,6 +73,10 @@ GstRTSPResult gst_rtsp_ext_list_get_transports (GstRTSPExtensionList *ext, Gs gchar **transport); GstRTSPResult gst_rtsp_ext_list_stream_select (GstRTSPExtensionList *ext, GstRTSPUrl *url); +void gst_rtsp_ext_list_connect (GstRTSPExtensionList *ext, + const gchar *detailed_signal, GCallback c_handler, + gpointer data); + G_END_DECLS #endif /* __GST_RTSP_EXT_H__ */ -- cgit