mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
video-converter: add extra pixels for the border
We need extra pixels for the border.
This commit is contained in:
parent
bd6d2b40d1
commit
7a56ec1186
1 changed files with 1 additions and 0 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Reference in a new issue