提交 96d37a89 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8905 doing -1 here prevents the crash, its something to do with the last row in the height

上级 ce8761a4
......@@ -1078,9 +1078,9 @@ static switch_status_t local_stream_file_read_video(switch_file_handle_t *handle
}
if (context->source->logo_opacity > 0 && context->source->logo_opacity < 100) {
switch_img_overlay(frame->img, context->source->logo_img, x, y, context->source->logo_opacity);
switch_img_patch(frame->img, context->source->logo_img, x, y-1, context->source->logo_opacity);
} else {
switch_img_patch(frame->img, context->source->logo_img, x, y);
switch_img_patch(frame->img, context->source->logo_img, x, y-1);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论