mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
udp: port to new API
This commit is contained in:
parent
8b040cfae2
commit
f1df4c4b32
2 changed files with 4 additions and 4 deletions
|
@ -207,13 +207,13 @@ gst_udpsink_get_property (GObject * object, guint prop_id, GValue * value,
|
||||||
/*** GSTURIHANDLER INTERFACE *************************************************/
|
/*** GSTURIHANDLER INTERFACE *************************************************/
|
||||||
|
|
||||||
static GstURIType
|
static GstURIType
|
||||||
gst_udpsink_uri_get_type (void)
|
gst_udpsink_uri_get_type (GType type)
|
||||||
{
|
{
|
||||||
return GST_URI_SINK;
|
return GST_URI_SINK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static gchar **
|
||||||
gst_udpsink_uri_get_protocols (void)
|
gst_udpsink_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "udp", NULL };
|
static gchar *protocols[] = { (char *) "udp", NULL };
|
||||||
|
|
||||||
|
|
|
@ -1012,13 +1012,13 @@ gst_udpsrc_stop (GstBaseSrc * bsrc)
|
||||||
/*** GSTURIHANDLER INTERFACE *************************************************/
|
/*** GSTURIHANDLER INTERFACE *************************************************/
|
||||||
|
|
||||||
static GstURIType
|
static GstURIType
|
||||||
gst_udpsrc_uri_get_type (void)
|
gst_udpsrc_uri_get_type (GType type)
|
||||||
{
|
{
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static gchar **
|
||||||
gst_udpsrc_uri_get_protocols (void)
|
gst_udpsrc_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "udp", NULL };
|
static gchar *protocols[] = { (char *) "udp", NULL };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue