From 96d37a8951b143887599d221b26243a03f18c5ac Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 4 Mar 2016 19:54:56 -0600 Subject: [PATCH] FS-8905 doing -1 here prevents the crash, its something to do with the last row in the height --- src/mod/formats/mod_local_stream/mod_local_stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index b96798416a..b1c75e87ee 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -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); } }