return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_gio_uri_handler_get_protocols (GType type)
{
- static gchar **protocols = NULL;
+ static const gchar *const *protocols = NULL;
if (!protocols)
- protocols = gst_gio_get_supported_protocols ();
+ protocols = (const gchar * const *) gst_gio_get_supported_protocols ();
return protocols;
}
return GST_URI_SINK;
}
-static gchar **
+static const gchar *const *
gst_app_sink_uri_get_protocols (GType type)
{
- static gchar *protocols[] = { (char *) "appsink", NULL };
+ static const gchar *protocols[] = { "appsink", NULL };
return protocols;
}
iface->get_protocols = gst_app_sink_uri_get_protocols;
iface->get_uri = gst_app_sink_uri_get_uri;
iface->set_uri = gst_app_sink_uri_set_uri;
+
}
return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_app_src_uri_get_protocols (GType type)
{
- static gchar *protocols[] = { (char *) "appsrc", NULL };
+ static const gchar *protocols[] = { "appsrc", NULL };
return protocols;
}
return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_audio_cd_src_uri_get_protocols (GType type)
{
- static gchar *protocols[] = { (char *) "cdda", NULL };
+ static const gchar *protocols[] = { "cdda", NULL };
return protocols;
}
return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_caps_src_uri_get_protocols (void)
{
- static gchar *protocols[] = { (char *) "caps", NULL };
+ static const gchar *protocols[] = { "caps", NULL };
return protocols;
}
return GST_URI_SRC;
}
-static gchar **
+static const gchar *const *
gst_red_video_src_uri_get_protocols (void)
{
- static gchar *protocols[] = { (char *) "redvideo", NULL };
+ static const gchar *protocols[] = { "redvideo", NULL };
return protocols;
}