mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
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:
1 parent
f13a96000d
commit
c517be4330
2 files changed
+33
-27
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user