GNOME Bugzilla – Bug 342143
[subparse] sami parser needs to escape characters
Last modified: 2006-05-17 17:48:55 UTC
characters_sami() in gst/subparse/samiparser.c, collect content into buffer. however, string has been unescaped, and buffer will be used pango markup. therefore, before append into buffer, string must be escaped. I'll attach a patch against this.
Created attachment 65687 [details] [review] escape string before collect buffer
Committed, thanks! 2006-05-17 Tim-Philipp Müller <tim at centricular dot net> Patch by: Young-Ho Cha <ganadist chollian net> * gst/subparse/gstsubparse.c: (gst_sub_parse_dispose), (gst_sub_parse_class_init), (gst_sub_parse_init), (gst_sub_parse_set_property), (gst_sub_parse_get_property), (convert_encoding): * gst/subparse/gstsubparse.h: Add 'encoding' property (#341681). * gst/subparse/samiparse.c: (characters_sami): Output is pango markup, so we need to escape text between tags (#342143).