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

This commit is contained in:
Anthony Minessale 2016-03-04 19:54:56 -06:00
parent ce8761a427
commit 96d37a8951
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}