From 531f2f013517b8c8ba02679f537bed2c4eafd5e7 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Fri, 3 Apr 2020 12:53:58 -0600 Subject: [PATCH] [core] url decode video render text --- src/switch_core_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 2f7b07d4bd..7dbd685d6e 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -2204,6 +2204,8 @@ SWITCH_DECLARE(switch_image_t *) switch_img_write_text_img(int w, int h, switch_ font_size = atoi(fontsz); } + switch_url_decode(txt); + while (*txt == ' ') txt++; while (end_of(txt) == ' ') end_of(txt) = '\0';