mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
FS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve
This commit is contained in:
1 parent
f2d6f29928
commit
e952469e86
1 file changed
+2
-2
@@ -743,7 +743,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg,
|
|||||||
} else {
|
} else {
|
||||||
crop_x = use_geometry->x;
|
crop_x = use_geometry->x;
|
||||||
}
|
}
|
||||||
} else if (screen_aspect > img_aspect) {
|
} else if (screen_aspect < img_aspect) {
|
||||||
crop_x = img->d_w / 4;
|
crop_x = img->d_w / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -753,7 +753,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg,
|
|||||||
} else {
|
} else {
|
||||||
crop_y = use_geometry->y;
|
crop_y = use_geometry->y;
|
||||||
}
|
}
|
||||||
} else if (screen_aspect < img_aspect) {
|
} else if (screen_aspect > img_aspect) {
|
||||||
crop_y = img->d_h / 4;
|
crop_y = img->d_h / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user