This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/vf_pad: fix direct padding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.0
Andrey Turkin
Paul B Mahol
10 years ago
parent
6a975cb07f
commit
149b1f7cca
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/vf_pad.c
+ 1
- 1
libavfilter/vf_pad.c
View File
@@ -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)
Write
Preview
Loading…
Cancel
Save