Commit 149b1f7c authored by Andrey Turkin's avatar Andrey Turkin Committed by Paul B Mahol

avfilter/vf_pad: fix direct padding

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 6a975cb0
......@@ -203,7 +203,7 @@ static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h)
AVFrame *frame = ff_get_video_buffer(inlink->dst->outputs[0],
w + (s->w - s->in_w),
h + (s->h - s->in_h));
h + (s->h - s->in_h) + (s->x > 0));
int plane;
if (!frame)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment