Commit 89fb9ae9 authored by Stefano Sabatini's avatar Stefano Sabatini

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