udp: port to new API

This commit is contained in:
Wim Taymans 2011-07-04 18:15:42 +02:00
parent 8b040cfae2
commit f1df4c4b32
2 changed files with 4 additions and 4 deletions

View file

@ -207,13 +207,13 @@ gst_udpsink_get_property (GObject * object, guint prop_id, GValue * value,
/*** GSTURIHANDLER INTERFACE *************************************************/
static GstURIType
gst_udpsink_uri_get_type (void)
gst_udpsink_uri_get_type (GType type)
{
return GST_URI_SINK;
}
static gchar **
gst_udpsink_uri_get_protocols (void)
gst_udpsink_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "udp", NULL };

View file

@ -1012,13 +1012,13 @@ gst_udpsrc_stop (GstBaseSrc * bsrc)
/*** GSTURIHANDLER INTERFACE *************************************************/
static GstURIType
gst_udpsrc_uri_get_type (void)
gst_udpsrc_uri_get_type (GType type)
{
return GST_URI_SRC;
}
static gchar **
gst_udpsrc_uri_get_protocols (void)
gst_udpsrc_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "udp", NULL };