mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
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.
This commit is contained in:
parent
f4b32ca36d
commit
e5a48677c1
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2007-10-05 Wim Taymans <wim.taymans@gmail.com>
|
2007-10-05 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
* gst/rtpmanager/rtpsession.c: (rtp_session_next_timeout),
|
* gst/rtpmanager/rtpsession.c: (rtp_session_next_timeout),
|
||||||
|
|
|
@ -93,11 +93,8 @@ gst_gio_seek (gpointer element, GSeekable * stream, guint64 offset,
|
||||||
static gchar **
|
static gchar **
|
||||||
gst_gio_get_supported_protocols (void)
|
gst_gio_get_supported_protocols (void)
|
||||||
{
|
{
|
||||||
/* FIXME: Figure out supported schemes enumeration method for GIO. */
|
return g_strdupv ((gchar **)
|
||||||
|
g_vfs_get_supported_uri_schemes (g_vfs_get_default ()));
|
||||||
const gchar *protocols[] = { "file", "ftp", "sftp", "smb", NULL };
|
|
||||||
|
|
||||||
return g_strdupv ((gchar **) protocols);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstURIType
|
static GstURIType
|
||||||
|
|
Loading…
Reference in a new issue