提交 16a31c4b authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Muteesa Fred

FS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve

上级 fe05bacb
......@@ -743,7 +743,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg,
} else {
crop_x = use_geometry->x;
}
} else if (screen_aspect > img_aspect) {
} else if (screen_aspect < img_aspect) {
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 {
crop_y = use_geometry->y;
}
} else if (screen_aspect < img_aspect) {
} else if (screen_aspect > img_aspect) {
crop_y = img->d_h / 4;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论