Update for GstURIHandler get_protocols() changes

This commit is contained in:
Tim-Philipp Müller 2011-11-13 23:42:44 +00:00
parent a150d1e734
commit c27bbe4be2
7 changed files with 16 additions and 14 deletions

View file

@ -1447,11 +1447,12 @@ gst_soup_http_src_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_soup_http_src_uri_get_protocols (GType type)
{
static const gchar *protocols[] = { "http", "https", NULL };
return (gchar **) protocols;
return protocols;
}
static gchar *

View file

@ -146,10 +146,10 @@ gst_push_file_src_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_push_file_src_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "pushfile", NULL };
static const gchar *protocols[] = { "pushfile", NULL };
return protocols;
}

View file

@ -6658,13 +6658,13 @@ gst_rtspsrc_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_rtspsrc_uri_get_protocols (GType type)
{
static const gchar *protocols[] =
{ "rtsp", "rtspu", "rtspt", "rtsph", "rtsp-sdp", NULL };
return (gchar **) protocols;
return protocols;
}
static gchar *

View file

@ -214,10 +214,10 @@ gst_udpsink_uri_get_type (GType type)
return GST_URI_SINK;
}
static gchar **
static const gchar *const *
gst_udpsink_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "udp", NULL };
static const gchar *protocols[] = { "udp", NULL };
return protocols;
}

View file

@ -1019,10 +1019,10 @@ gst_udpsrc_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_udpsrc_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "udp", NULL };
static const gchar *protocols[] = { "udp", NULL };
return protocols;
}

View file

@ -512,10 +512,11 @@ gst_v4l2radio_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_v4l2radio_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "radio", NULL };
static const gchar *protocols[] = { "radio", NULL };
return protocols;
}

View file

@ -823,10 +823,10 @@ gst_v4l2src_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_v4l2src_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (char *) "v4l2", NULL };
static const gchar *protocols[] = { "v4l2", NULL };
return protocols;
}