]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] url decode video render text
authorMike Jerris <mike@signalwire.com>
Fri, 3 Apr 2020 18:53:58 +0000 (12:53 -0600)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:14 +0000 (22:00 +0300)
src/switch_core_video.c

index 2f7b07d4bd52db643e779dd0cc69c3c3c5ad534f..7dbd685d6ee583a3ccfcd62f6ff516630d1be2e2 100644 (file)
@@ -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';