Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
Don't use libxml functions in the typefinding code.
+2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/subparse/gstsubparse.c:
+ (gst_sub_parse_data_format_autodetect):
+ Don't use libxml functions in the typefinding code.
+
2006-05-15 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet):
GST_LOG ("MPSub (time based) format detected");
return GST_SUB_PARSE_FORMAT_MPSUB;
}
- if (xmlStrcasestr ((const xmlChar *) match_str, (xmlChar *) "<SAMI>")) {
+ if (strstr (match_str, "<SAMI>") != NULL ||
+ strstr (match_str, "<sami>") != NULL) {
GST_LOG ("SAMI (time based) format detected");
return GST_SUB_PARSE_FORMAT_SAMI;
}