From 3c92bad18e020e22a2dd29c8a129bb3ca7656b21 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 17 Aug 2016 12:52:40 -0500 Subject: [PATCH] FS-9425 fix copy and paste error where we were not setting the height properly. --- src/mod/applications/mod_conference/mod_conference.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 28624d2120..47f44ec6e5 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2761,10 +2761,10 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co } } - if (scale_h264_canvas_width < 320 || scale_h264_canvas_width < 180) { + if (scale_h264_canvas_width < 320 || scale_h264_canvas_height < 180) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid scale-h264-canvas-size, falling back to 320x180\n"); scale_h264_canvas_width = 320; - scale_h264_canvas_width = 180; + scale_h264_canvas_height = 180; } } else if (!strcasecmp(var, "scale-h264-canvas-fps-divisor") && !zstr(val)) { scale_h264_canvas_fps_divisor = atoi(val);