Browse Source

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
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
e4cc9f208d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_scale.c

+ 2
- 0
libavfilter/vf_scale.c View File

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



Loading…
Cancel
Save