1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Baptiste Coudurier 2011-01-05 01:14:14 +00:00
parent d34a77fb09
commit 69057b70f7

View File

@ -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);
}