[FFmpeg-devel] [PATCH] Add pad filter

Diego Biurrun diego
Sun Nov 22 23:11:33 CET 2009


On Sun, Nov 22, 2009 at 04:13:12PM +0100, Stefano Sabatini wrote:
> On date Tuesday 2009-11-10 12:02:53 +0100, Diego Biurrun encoded:
> > On Sun, Nov 08, 2009 at 09:50:13PM +0100, Stefano Sabatini wrote:
> > > 
> > > --- ffmpeg.orig/libavfilter/allfilters.c	2009-11-08 21:38:43.000000000 +0100
> > > +++ ffmpeg/libavfilter/allfilters.c	2009-11-08 21:38:47.000000000 +0100
> > > @@ -38,6 +38,7 @@
> > >      REGISTER_FILTER (NOFORMAT, noformat, vf);
> > >      REGISTER_FILTER (NULL, null, vf);
> > > +    REGISTER_FILTER (PAD,  pad, vf);
> > >      REGISTER_FILTER (SCALE, scale, vf);
> > >      REGISTER_FILTER (SLICIFY, slicify, vf);
> > 
> > What is the 'vf' for anyway?
> 
> Video Filter, it's for avoiding name clashes between
> filter/sources/sink of different types, for example vf_null != af_null
> (Audio Filter) != vsink_null. 

Make this part of the macro then, i.e. REGISTER_AFILTER vs.
REGISTER_VFILTER.

Diego



More information about the ffmpeg-devel mailing list