]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9425 fix copy and paste error where we were not setting the height properly.
authorBrian West <brian@freeswitch.org>
Wed, 17 Aug 2016 17:52:40 +0000 (12:52 -0500)
committerBrian West <brian@freeswitch.org>
Wed, 17 Aug 2016 17:52:40 +0000 (12:52 -0500)
src/mod/applications/mod_conference/mod_conference.c

index 28624d2120352d248a00e300dd659e0a468aba03..47f44ec6e5ecb5e41e705390e5017b9fefedc4c2 100644 (file)
@@ -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);