]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10379: [mod_conference] Set canvas size based on a variable
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Jul 2017 16:29:51 +0000 (11:29 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Jul 2017 16:30:00 +0000 (11:30 -0500)
src/mod/applications/mod_conference/mod_conference.c

index a43a1eeb5d8d4a679ec68dc991847ded9a42a1b6..c26f7e67a42cc110c710abc486028202b705e1c6 100644 (file)
@@ -2836,7 +2836,7 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co
                                video_super_canvas_bgcolor= val;
                        } else if (!strcasecmp(var, "video-letterbox-bgcolor") && !zstr(val)) {
                                video_letterbox_bgcolor= val;
-                       } else if (!strcasecmp(var, "video-canvas-size") && !zstr(val)) {
+                       } else if (!video_canvas_size && !strcasecmp(var, "video-canvas-size") && !zstr(val)) {
                                video_canvas_size = val;
                        } else if (!strcasecmp(var, "video-fps") && !zstr(val)) {
                                fps = (float)atof(val);