ext/gio/gstgio.c: Filter cdda from the supported URI schemes. We can't support musicbrainz tags and everything else o...

Original commit message from CVS:
* ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
Filter cdda from the supported URI schemes. We can't support
musicbrainz tags and everything else one expects from a cdda source
with GIO. Fixes bug .
This commit is contained in:
Sebastian Dröge 2008-04-09 08:38:19 +00:00
parent cd933152c7
commit 99fa2d2e86
2 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
* ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
Filter cdda from the supported URI schemes. We can't support
musicbrainz tags and everything else one expects from a cdda source
with GIO. Fixes bug #526794.
2008-04-07 Jan Schmidt <jan.schmidt@sun.com>
* sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_new),

View file

@ -106,11 +106,15 @@ gst_gio_get_supported_protocols (void)
our_schemes = g_new0 (gchar *, num + 1);
/* Filter http/https as we can't support the icy stuff with GIO.
* Use souphttpsrc if you need that!
/* - Filter http/https as we can't support the icy stuff with GIO.
* Use souphttpsrc if you need that.
* - Filter cdda as it doesn't support musicbrainz stuff and everything
* else one expects from a cdda source. Use cdparanoiasrc or cdiosrc
* for cdda.
*/
for (i = 0, j = 0; i < num; i++) {
if (strcmp (schemes[i], "http") == 0 || strcmp (schemes[i], "https") == 0)
if (strcmp (schemes[i], "http") == 0 || strcmp (schemes[i], "https") == 0
|| strcmp (schemes[i], "cdda") == 0)
continue;
our_schemes[j] = g_strdup (schemes[i]);