summaryrefslogtreecommitdiff
path: root/ext/neon
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-11-13 23:55:56 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-11-13 23:55:56 +0000
commit357d7bdfed98d7ee7f8e63a94b2359a8bf517e13 (patch)
treebe8240279a2f1e09b92281c3c5e82de824245f75 /ext/neon
parent7b80e0773fb6759e8d71a535bb3c6c14106c8e66 (diff)
downloadgstreamer-plugins-bad-357d7bdfed98d7ee7f8e63a94b2359a8bf517e13.tar.gz
Update for GstURIHandler get_protocols() changes
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index b295f0837..ea0905795 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -1136,11 +1136,12 @@ gst_neonhttp_src_uri_get_type (void)
return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_neonhttp_src_uri_get_protocols (void)
{
static const gchar *protocols[] = { "http", "https", NULL };
- return (gchar **) protocols;
+
+ return protocols;
}
static const gchar *