mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst/subparse/gstsubparse.c: Don't use libxml functions in the typefinding code.
Original commit message from CVS: * gst/subparse/gstsubparse.c: (gst_sub_parse_data_format_autodetect): Don't use libxml functions in the typefinding code.
This commit is contained in:
parent
beb92d46af
commit
b512d7a387
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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):
|
||||
|
|
|
@ -626,7 +626,8 @@ gst_sub_parse_data_format_autodetect (gchar * match_str)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue