Browse code

100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them

Originally committed as revision 24781 to svn://svn.ffmpeg.org/ffmpeg/trunk

Baptiste Coudurier authored on 2010/08/12 09:33:18
Showing 1 changed files
... ...
@@ -153,6 +153,8 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
153 153
 
154 154
     outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
155 155
     avfilter_copy_buffer_ref_props(outpicref, picref);
156
+    outpicref->video->w = outlink->w;
157
+    outpicref->video->h = outlink->h;
156 158
 
157 159
     outlink->out_buf = outpicref;
158 160