diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-01-05 01:14:14 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-01-05 01:14:14 +0000 |
commit | 69057b70f78c09103a61a1027da0bf88c47ca224 (patch) | |
tree | 8935de517b785359d91026b49090a378f31633ac /libavfilter | |
parent | d34a77fb093b410e779d5c7bcf7c2692c175e5c3 (diff) | |
download | ffmpeg-69057b70f78c09103a61a1027da0bf88c47ca224.tar.gz |
In pad filter, update new ref w/h in start_frame, fix chaining
Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_pad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index a661b9cb46..321f41133e 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -259,6 +259,9 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref) (pad->y >> vsub) * outpicref->linesize[plane]; } + outpicref->video->w = pad->w; + outpicref->video->h = pad->h; + avfilter_start_frame(inlink->dst->outputs[0], outpicref); } |