[farsight2/master] codec: Ignore case when comparing codec parameter names
Olivier Crête
olivier.crete at collabora.co.uk
Tue May 19 13:23:57 PDT 2009
---
gst-libs/gst/farsight/fs-codec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-codec.c b/gst-libs/gst/farsight/fs-codec.c
index 843292c..e9dd4b4 100644
--- a/gst-libs/gst/farsight/fs-codec.c
+++ b/gst-libs/gst/farsight/fs-codec.c
@@ -485,7 +485,7 @@ compare_lists (GList *list1, GList *list2)
item2 = g_list_next (item2)) {
FsCodecParameter *param2 = item2->data;
- if (!strcmp (param1->name, param2->name) &&
+ if (!g_ascii_strcasecmp (param1->name, param2->name) &&
!strcmp (param1->value, param2->value))
break;
}
--
1.5.6.5
More information about the farsight-commits
mailing list