mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
Update for GstURIHandler get_protocols() changes
This commit is contained in:
parent
a150d1e734
commit
c27bbe4be2
7 changed files with 16 additions and 14 deletions
|
@ -1447,11 +1447,12 @@ gst_soup_http_src_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_soup_http_src_uri_get_protocols (GType type)
|
gst_soup_http_src_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static const gchar *protocols[] = { "http", "https", NULL };
|
static const gchar *protocols[] = { "http", "https", NULL };
|
||||||
return (gchar **) protocols;
|
|
||||||
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar *
|
static gchar *
|
||||||
|
|
|
@ -146,10 +146,10 @@ gst_push_file_src_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_push_file_src_uri_get_protocols (GType type)
|
gst_push_file_src_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "pushfile", NULL };
|
static const gchar *protocols[] = { "pushfile", NULL };
|
||||||
|
|
||||||
return protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6658,13 +6658,13 @@ gst_rtspsrc_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_rtspsrc_uri_get_protocols (GType type)
|
gst_rtspsrc_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static const gchar *protocols[] =
|
static const gchar *protocols[] =
|
||||||
{ "rtsp", "rtspu", "rtspt", "rtsph", "rtsp-sdp", NULL };
|
{ "rtsp", "rtspu", "rtspt", "rtsph", "rtsp-sdp", NULL };
|
||||||
|
|
||||||
return (gchar **) protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar *
|
static gchar *
|
||||||
|
|
|
@ -214,10 +214,10 @@ gst_udpsink_uri_get_type (GType type)
|
||||||
return GST_URI_SINK;
|
return GST_URI_SINK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_udpsink_uri_get_protocols (GType type)
|
gst_udpsink_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "udp", NULL };
|
static const gchar *protocols[] = { "udp", NULL };
|
||||||
|
|
||||||
return protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1019,10 +1019,10 @@ gst_udpsrc_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_udpsrc_uri_get_protocols (GType type)
|
gst_udpsrc_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "udp", NULL };
|
static const gchar *protocols[] = { "udp", NULL };
|
||||||
|
|
||||||
return protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
|
@ -512,10 +512,11 @@ gst_v4l2radio_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_v4l2radio_uri_get_protocols (GType type)
|
gst_v4l2radio_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "radio", NULL };
|
static const gchar *protocols[] = { "radio", NULL };
|
||||||
|
|
||||||
return protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -823,10 +823,10 @@ gst_v4l2src_uri_get_type (GType type)
|
||||||
return GST_URI_SRC;
|
return GST_URI_SRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gchar **
|
static const gchar *const *
|
||||||
gst_v4l2src_uri_get_protocols (GType type)
|
gst_v4l2src_uri_get_protocols (GType type)
|
||||||
{
|
{
|
||||||
static gchar *protocols[] = { (char *) "v4l2", NULL };
|
static const gchar *protocols[] = { "v4l2", NULL };
|
||||||
|
|
||||||
return protocols;
|
return protocols;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue