projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6d2b4
)
video-converter: add extra pixels for the border
author
Wim Taymans
<wtaymans@redhat.com>
Mon, 3 Nov 2014 15:18:41 +0000
(16:18 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Mon, 3 Nov 2014 15:19:25 +0000
(16:19 +0100)
We need extra pixels for the border.
gst-libs/gst/video/video-converter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-converter.c
b/gst-libs/gst/video/video-converter.c
index 24496f5ec799326c03d532d2658174fe4dcfcd67..9245477e6d2058d0b950c25e0fd0f8a5952af664 100644
(file)
--- 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 ||