GNOME Bugzilla – Bug 768525
subparse: don't reset allowed tags
Last modified: 2016-07-07 17:39:37 UTC
See commit log.
Created attachment 331004 [details] [review] 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().
Attachment 331004 [details] pushed as c646c62 - subparse: don't reset allowed tags