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

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -