video-converter: add extra pixels for the border

We need extra pixels for the border.
This commit is contained in:
Wim Taymans 2014-11-03 16:18:41 +01:00
parent bd6d2b40d1
commit 7a56ec1186

View file

@ -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 ||