From: Mike Jerris Date: Fri, 3 Apr 2020 18:53:58 +0000 (-0600) Subject: [core] url decode video render text X-Git-Tag: v1.10.7^2~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=531f2f013517b8c8ba02679f537bed2c4eafd5e7;p=thirdparty%2Ffreeswitch.git [core] url decode video render text --- 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';