mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:06:12 +00:00
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 #526794.
This commit is contained in:
parent
cd933152c7
commit
99fa2d2e86
2 changed files with 14 additions and 3 deletions
|
@ -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>
|
2008-04-07 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_new),
|
* sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_new),
|
||||||
|
|
|
@ -106,11 +106,15 @@ gst_gio_get_supported_protocols (void)
|
||||||
|
|
||||||
our_schemes = g_new0 (gchar *, num + 1);
|
our_schemes = g_new0 (gchar *, num + 1);
|
||||||
|
|
||||||
/* Filter http/https as we can't support the icy stuff with GIO.
|
/* - Filter http/https as we can't support the icy stuff with GIO.
|
||||||
* Use souphttpsrc if you need that!
|
* 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++) {
|
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;
|
continue;
|
||||||
|
|
||||||
our_schemes[j] = g_strdup (schemes[i]);
|
our_schemes[j] = g_strdup (schemes[i]);
|
||||||
|
|
Loading…
Reference in a new issue