Make the scale filter pass the pkt.pos information to the output

picref.

Originally committed as revision 22509 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Stefano Sabatini 15 years ago
parent 8955a324f4
commit 89fb9ae9e6
  1. 1
      libavfilter/vf_scale.c

@ -145,6 +145,7 @@ static void start_frame(AVFilterLink *link, AVFilterPicRef *picref)
outpicref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
outpicref->pts = picref->pts;
outpicref->pos = picref->pos;
outlink->outpic = outpicref;
av_reduce(&outpicref->pixel_aspect.num, &outpicref->pixel_aspect.den,

Loading…
Cancel
Save