[core] url decode video render text

This commit is contained in:
Mike Jerris authored and Andrey Volk committed 2021-10-23 22:00:14 +03:00
1 parent 6e68da4930
commit 531f2f0135
1 file changed
+2
+2
View File
@@ -2204,6 +2204,8 @@ SWITCH_DECLARE(switch_image_t *) switch_img_write_text_img(int w, int h, switch_
font_size = atoi(fontsz); font_size = atoi(fontsz);
} }
switch_url_decode(txt);
while (*txt == ' ') txt++; while (*txt == ' ') txt++;
while (end_of(txt) == ' ') end_of(txt) = '\0'; while (end_of(txt) == ' ') end_of(txt) = '\0';