diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-07 23:53:47 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-07 23:53:47 +0000 |
commit | 3b2142af9997f7a9e3acff0db1445a4e27b919ed (patch) | |
tree | ba4fc5c4c599c6c9d0929a33bab9d678c208ba4d | |
parent | 732436920bcf523b36360d72ef069d44ffe19222 (diff) | |
download | ffmpeg-3b2142af9997f7a9e3acff0db1445a4e27b919ed.tar.gz |
Make avfilter_default_start_frame() correctly pass the aspect ratio
information to the next filter.
Originally committed as revision 22300 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/defaults.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 7e02ea849d..3484e0e6d5 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -74,6 +74,7 @@ void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref) if(out) { out->outpic = avfilter_get_video_buffer(out, AV_PERM_WRITE, out->w, out->h); out->outpic->pts = picref->pts; + out->outpic->pixel_aspect = picref->pixel_aspect; avfilter_start_frame(out, avfilter_ref_pic(out->outpic, ~0)); } } |