Index: gst/subparse/gstsubparse.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/subparse/gstsubparse.c,v
retrieving revision 1.30
diff -u -r1.30 gstsubparse.c
--- gst/subparse/gstsubparse.c	15 May 2006 09:14:35 -0000	1.30
+++ gst/subparse/gstsubparse.c	15 May 2006 12:34:38 -0000
@@ -626,7 +626,7 @@
     GST_LOG ("MPSub (time based) format detected");
     return GST_SUB_PARSE_FORMAT_MPSUB;
   }
-  if (!g_ascii_strncasecmp (match_str, "<SAMI>", 6)) {
+  if (xmlStrcasestr ((const xmlChar *) match_str, (xmlChar *) "<SAMI>")) {
     GST_LOG ("SAMI (time based) format detected");
     return GST_SUB_PARSE_FORMAT_SAMI;
   }
