[SCM] libav/experimental: In pad filter, update new ref w/h in start_frame, fix chaining

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:22 UTC 2013


The following commit has been merged in the experimental branch:
commit 69057b70f78c09103a61a1027da0bf88c47ca224
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Jan 5 01:14:14 2011 +0000

    In pad filter, update new ref w/h in start_frame, fix chaining
    
    Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index a661b9c..321f411 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -259,6 +259,9 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
             (pad->y >> vsub) * outpicref->linesize[plane];
     }
 
+    outpicref->video->w = pad->w;
+    outpicref->video->h = pad->h;
+
     avfilter_start_frame(inlink->dst->outputs[0], outpicref);
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list