mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FS-8905 doing -1 here prevents the crash, its something to do with the last row in the height
This commit is contained in:
parent
ce8761a427
commit
96d37a8951
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user