Update for GstURIHandler get_protocols() changes

This commit is contained in:
Tim-Philipp Müller 2011-11-13 23:47:46 +00:00
parent 4db445cf84
commit 074330bf16
2 changed files with 4 additions and 4 deletions

View file

@ -1632,10 +1632,10 @@ gst_dvd_read_src_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_dvd_read_src_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (gchar *) "dvd", NULL };
static const gchar *protocols[] = { "dvd", NULL };
return protocols;
}

View file

@ -199,10 +199,10 @@ gst_pnm_src_uri_get_type (GType type)
return GST_URI_SRC;
}
static gchar **
static const gchar *const *
gst_pnm_src_uri_get_protocols (GType type)
{
static gchar *protocols[] = { (gchar *) "pnm", NULL };
static const gchar *protocols[] = { "pnm", NULL };
return protocols;
}