diff --git a/ChangeLog b/ChangeLog index 16e9aba92d..a681da198c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-05-11 Tim-Philipp Müller + + Patch by: Jeroen Wouters + + * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry): + Treat protocol strings in a case-insensitive way (#437563). + 2007-05-11 Michael Smith * gst/gstplugin.c: (gst_plugin_load_file): diff --git a/common b/common index 1b4fb5836a..b5971d76cc 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 1b4fb5836a9e290fe13895643d41e0166de8a94c +Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d diff --git a/gst/gsturi.c b/gst/gsturi.c index eb3cfede6f..b0a55546ed 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -369,7 +369,7 @@ gst_uri_get_protocol (const gchar * uri) colon = strstr (uri, "://"); - return g_strndup (uri, colon - uri); + return g_strdown (g_strndup (uri, colon - uri)); } /** @@ -485,7 +485,7 @@ search_by_entry (GstPluginFeature * feature, gpointer search_entry) } while (*protocols != NULL) { - if (strcmp (*protocols, entry->protocol) == 0) + if (g_ascii_strcasecmp (*protocols, entry->protocol) == 0) return TRUE; protocols++; }