From: Seven Du Date: Fri, 24 Jul 2015 01:30:45 +0000 (+0800) Subject: FS-7811 #comment use more common format CIF for blank img X-Git-Tag: v1.6.2~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=967bff55a2a4f8d50e1bd113a0e73d21f099aeb4;p=thirdparty%2Ffreeswitch.git FS-7811 #comment use more common format CIF for blank img --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 128fb1d6be..194a5e0072 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -4886,7 +4886,7 @@ static void *SWITCH_THREAD_FUNC video_helper_thread(switch_thread_t *thread, voi if (!blank_img) { switch_color_set_rgb(&bgcolor, "#000000"); - blank_img = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, 320, 240, 1); + blank_img = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, 352, 288, 1); switch_img_fill(blank_img, 0, 0, blank_img->d_w, blank_img->d_h, &bgcolor); }