summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gio/gstgio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/gio/gstgio.c b/ext/gio/gstgio.c
index 3680428c..440ca01c 100644
--- a/ext/gio/gstgio.c
+++ b/ext/gio/gstgio.c
@@ -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