textrender: Don't pass plaintext as pango markup to Pango
authorSebastian Dröge <sebastian@centricular.com>
Mon, 21 Nov 2022 16:47:50 +0000 (18:47 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Nov 2022 16:47:50 +0000 (18:47 +0200)
commit7af129b755582248a211864cf248212092b8d6e3
tree3f3c9de142f501f12244fa8cff5178fc7e3884f4
parent5b1a1c41b66f2d3bb9cda0303efd9566d4ed3f23
textrender: Don't pass plaintext as pango markup to Pango

Otherwise e.g. & in the text will cause Pango to complain about invalid
markup and render the text incorrectly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3445>
subprojects/gst-plugins-base/ext/pango/gsttextrender.c
subprojects/gst-plugins-base/ext/pango/gsttextrender.h