Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
Improve SAMI typefinding: handle case where there are
whitespaces or newlines in front of the first <SAMI>
tag (#169936).
+2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/subparse/gstsubparse.c:
+ (gst_sub_parse_data_format_autodetect):
+ Improve SAMI typefinding: handle case where there are
+ whitespaces or newlines in front of the first <SAMI>
+ tag (#169936).
+
2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
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;
}