[core] url decode video render text

This commit is contained in:
Mike Jerris 2020-04-03 12:53:58 -06:00 committed by Andrey Volk
parent 6e68da4930
commit 531f2f0135
1 changed files with 2 additions and 0 deletions

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);
}
switch_url_decode(txt);
while (*txt == ' ') txt++;
while (end_of(txt) == ' ') end_of(txt) = '\0';