gstreamer/gst/subparse
Víctor Manuel Jáquez Leal c646c62a02 subparse: don't reset allowed tags
When a discont buffer is processed, the state is re-initialized, which
nullifies the allowed_tags.

The problem is when a subrip string with tags is processed and allowed_tags is
NULL. The function subrip_unescape_formatting() calls g_strjoinv with a
str_array as NULL, leading to a GLib-CRITICAL.

This patch removes the allowed_tags resetting, in parser_state_init(), but
move it into gst_sub_parse_format_autodetect().

https://bugzilla.gnome.org/show_bug.cgi?id=768525
2016-07-07 19:38:07 +02:00
..
gstssaparse.c base: use new gst_element_class_add_static_pad_template() 2016-03-24 14:25:41 +02:00
gstssaparse.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstsubparse.c subparse: don't reset allowed tags 2016-07-07 19:38:07 +02:00
gstsubparse.h subparse: WebVTT parsing support 2016-03-25 00:58:42 +11:00
Makefile.am subparse: remove libxml dependency for sami parser and re-enable sami parser 2013-07-16 18:04:02 +01:00
mpl2parse.c Fix FSF address 2012-11-03 23:05:09 +00:00
mpl2parse.h Fix FSF address 2012-11-03 23:05:09 +00:00
qttextparse.c Fix FSF address 2012-11-03 23:05:09 +00:00
qttextparse.h Fix FSF address 2012-11-03 23:05:09 +00:00
samiparse.c subparse: fix null pointer access in sami parser 2013-11-21 16:34:04 +00:00
samiparse.h Fix FSF address 2012-11-03 23:05:09 +00:00
tmplayerparse.c Fix FSF address 2012-11-03 23:05:09 +00:00
tmplayerparse.h Fix FSF address 2012-11-03 23:05:09 +00:00