1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Stefano Sabatini 2010-03-13 12:33:44 +00:00
parent 8955a324f4
commit 89fb9ae9e6

View File

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