mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
katedec: don't escape special characters
Don't escape special characters, as we'll send the buffer as text/plain rather than text/x-pango-markup; this avoids e.g. quotes from appearing as " in the rendered subtitles. See bug #600929.
This commit is contained in:
parent
dfd5b4c99f
commit
334714bbc0
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ gst_kate_dec_chain (GstPad * pad, GstBuffer * buf)
|
|||
} else if (ev->text_markup_type == kate_markup_none) {
|
||||
/* no pango markup yet, escape text */
|
||||
/* TODO: actually do the pango thing */
|
||||
escaped = g_markup_printf_escaped ("%s", ev->text);
|
||||
escaped = g_strdup (ev->text);
|
||||
plain = TRUE;
|
||||
} else {
|
||||
escaped = g_strdup (ev->text);
|
||||
|
|
Loading…
Reference in a new issue