udp: port to new API
This commit is contained in:
parent
8b040cfae2
commit
f1df4c4b32
@ -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 };
|
||||
|
||||
|
@ -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 };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user