diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 12:33:44 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 12:33:44 +0000 |
commit | 89fb9ae9e6fe7aad888257e74b7a0b39efb139f0 (patch) | |
tree | 48180e74073117e5d9a4d921d0703372dcd015cc | |
parent | 8955a324f4b3db0b63167c8b4a45606e0380ad15 (diff) | |
download | ffmpeg-89fb9ae9e6fe7aad888257e74b7a0b39efb139f0.tar.gz |
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
-rw-r--r-- | libavfilter/vf_scale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 4d109adcc6..8b70d0319f 100644 --- a/libavfilter/vf_scale.c +++ b/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, |