Commit e4cc9f20 authored by Baptiste Coudurier's avatar Baptiste Coudurier

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
parent 6ef14e57
......@@ -153,6 +153,8 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
avfilter_copy_buffer_ref_props(outpicref, picref);
outpicref->video->w = outlink->w;
outpicref->video->h = outlink->h;
outlink->out_buf = outpicref;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment