mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
FS-9425 fix copy and paste error where we were not setting the height properly.
This commit is contained in:
parent
a433c20b34
commit
3c92bad18e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user