From d9b7ddd426ca3bf1d87629e8a605a53d6fffa7a8 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 29 Jun 2005 16:27:27 +0000 Subject: gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the Original commit message from CVS: 2005-06-29 Andy Wingo * gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the URI handler. * gst/udp/gstudpsrc.c (gst_udpsrc_start): (gst_udpsrc_create): Signedness. * gst/rtsp/sdpmessage.c (sdp_message_parse_buffer): Thanks compiler! (sdp_parse_line): Signedness fix. --- gst/udp/gstudpsink.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gst/udp/gstudpsink.c') diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index 56f2753f..321f30b9 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -52,6 +52,9 @@ static void gst_udpsink_base_init (gpointer g_class); static void gst_udpsink_class_init (GstUDPSink * klass); static void gst_udpsink_init (GstUDPSink * udpsink); +static void gst_udpsink_uri_handler_init (gpointer g_iface, + gpointer iface_data); + static void gst_udpsink_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); static void gst_udpsink_get_property (GObject * object, guint prop_id, @@ -79,10 +82,19 @@ gst_udpsink_get_type (void) (GInstanceInitFunc) gst_udpsink_init, NULL }; + static const GInterfaceInfo urihandler_info = { + gst_udpsink_uri_handler_init, + NULL, + NULL + }; udpsink_type = g_type_register_static (GST_TYPE_MULTIUDPSINK, "GstUDPSink", &udpsink_info, 0); + + g_type_add_interface_static (udpsink_type, GST_TYPE_URI_HANDLER, + &urihandler_info); + } return udpsink_type; } -- cgit