Browse code

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

Baptiste Coudurier authored on 2011/01/05 10:14:14
Showing 1 changed files
... ...
@@ -259,6 +259,9 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
259 259
             (pad->y >> vsub) * outpicref->linesize[plane];
260 260
     }
261 261
 
262
+    outpicref->video->w = pad->w;
263
+    outpicref->video->h = pad->h;
264
+
262 265
     avfilter_start_frame(inlink->dst->outputs[0], outpicref);
263 266
 }
264 267