From 7a56ec11869c86431933701d18cc7ca70180a9ae Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 3 Nov 2014 16:18:41 +0100 Subject: [PATCH] video-converter: add extra pixels for the border We need extra pixels for the border. --- gst-libs/gst/video/video-converter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c index 24496f5..9245477 100644 --- a/gst-libs/gst/video/video-converter.c +++ b/gst-libs/gst/video/video-converter.c @@ -587,6 +587,7 @@ gst_video_converter_new (GstVideoInfo * in_info, GstVideoInfo * out_info, convert->lines = out_info->finfo->pack_lines; width = MAX (convert->in_maxwidth, convert->out_maxwidth); + width += convert->out_x; convert->errline = g_malloc0 (sizeof (guint16) * width * 4); if (convert->fill_border && (convert->out_height < convert->out_maxheight || -- 2.7.4