[SCM] libav/experimental: Make avfilter_default_start_frame() correctly pass the aspect ratio information to the next filter.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:03:26 UTC 2013


The following commit has been merged in the experimental branch:
commit 3b2142af9997f7a9e3acff0db1445a4e27b919ed
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Mar 7 23:53:47 2010 +0000

    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

diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index 7e02ea8..3484e0e 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));
     }
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list