mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
avfilter/vf_pad: fix direct padding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
6a975cb07f
commit
149b1f7cca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user