gstreamer - How to encode text in pango-markup language? -
i writing subtitle parser gstreamer plugin. need encode parser subtitle text in pango-markup language gstreamer text-overlay supports it.
i know how decode pango-markup text normal text this link.
but not able find standard utility library can encode normal string pango-markup string.
is there standard encoder library pango-markup? or should implement encoder myself?
it's not clear expecting "encoding pango-markup string." pango markup xml-escaped text, optional formatting markup elements in it.
that is, g_markup_escape_text() should give valid pango markup string, no formatting.
Comments
Post a Comment