提交 ac6092e6 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10340: [mod_conference] Zoom layers not working right when input image is…

FS-10340: [mod_conference] Zoom layers not working right when input image is same height as the layer #resolve
上级 8afac73c
......@@ -641,8 +641,8 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg,
}
if (scale == 1) {
crop_w = img->d_w;
crop_h = img->d_h;
crop_w = layer->screen_w;
crop_h = layer->screen_h;
} else {
crop_w = (uint32_t)((double)layer->screen_w / scale);
crop_h = (uint32_t)((double)layer->screen_h / scale);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论