Commit aa2e910c authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

ext/gio/gstgio.c: Use GIO function to get a list of supported URI schemes...

ext/gio/gstgio.c: Use GIO function to get a list of supported URI schemes instead of hard coding something.

Original commit message from CVS:
* ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
Use GIO function to get a list of supported URI schemes instead of
hard coding something.
parent d3648ca5
......@@ -93,11 +93,8 @@ gst_gio_seek (gpointer element, GSeekable * stream, guint64 offset,
static gchar **
gst_gio_get_supported_protocols (void)
{
/* FIXME: Figure out supported schemes enumeration method for GIO. */
const gchar *protocols[] = { "file", "ftp", "sftp", "smb", NULL };
return g_strdupv ((gchar **) protocols);
return g_strdupv ((gchar **)
g_vfs_get_supported_uri_schemes (g_vfs_get_default ()));
}
static GstURIType
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment