FS-7513: fix placement of overlay banner on letterbox callers change config option video-layout-bgcolor to video-letterbox-bgcolor

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:25 -05:00
1 parent f13a96000d
commit c517be4330
2 files changed
+33 -27

No files matched your search

+1 -1
View File
@@ -836,7 +836,7 @@ SWITCH_DECLARE(switch_image_t *) switch_img_write_text_img(int w, int h, const c
if (len < 5) len = 5;
width = (int) (float)(font_size * 0.95f * len);
width = (int) (float)(font_size * 0.75f * len);
txtimg = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, width, font_size * 2, 1);