[FFmpeg-devel] [PATCH] lavfi: define macro AVFILTER_DEFINE_CLASS

Stefano Sabatini stefasab at gmail.com
Fri Jun 22 23:20:11 CEST 2012


On date Friday 2012-06-22 13:50:10 +0000, Paul B Mahol encoded:
> On 6/22/12, Stefano Sabatini <stefasab at gmail.com> wrote:
> > The macro can be used to define consistently the internal class of a
> > filter, save some typing and factorize.
> > ---
> >  libavfilter/af_aformat.c       |   10 ++--------
> >  libavfilter/af_amerge.c        |    8 +-------
> >  libavfilter/af_amix.c          |   11 ++---------
> >  libavfilter/af_asetnsamples.c  |   13 ++++---------
> >  libavfilter/af_asyncts.c       |   12 +++---------
> >  libavfilter/af_channelsplit.c  |   10 ++--------
> >  libavfilter/af_silencedetect.c |    9 ++-------
> >  libavfilter/asrc_aevalsrc.c    |   12 +++---------
> >  libavfilter/asrc_anullsrc.c    |    8 +-------
> >  libavfilter/avf_showwaves.c    |    9 ++-------
> >  libavfilter/buffersrc.c        |   22 +++++-----------------
> >  libavfilter/internal.h         |    9 +++++++++
> >  libavfilter/src_movie.c        |    8 +-------
> >  libavfilter/vf_ass.c           |    9 ++-------
> >  libavfilter/vf_blackdetect.c   |    8 +-------
> >  libavfilter/vf_delogo.c        |    8 +-------
> >  libavfilter/vf_drawtext.c      |    8 +-------
> >  libavfilter/vf_fade.c          |    8 +-------
> >  libavfilter/vf_fps.c           |   12 +++---------
> >  libavfilter/vf_lut.c           |    8 +-------
> >  libavfilter/vf_overlay.c       |    8 +-------
> >  libavfilter/vsrc_cellauto.c    |    9 ++-------
> >  libavfilter/vsrc_color.c       |    8 +-------
> >  libavfilter/vsrc_life.c        |    9 ++-------
> >  libavfilter/vsrc_mandelbrot.c  |    9 ++-------
> >  libavfilter/vsrc_mptestsrc.c   |    9 ++-------
> >  libavfilter/vsrc_testsrc.c     |    8 +-------
> >  27 files changed, 58 insertions(+), 204 deletions(-)
> >
> 
> OK if it does not break anything.
> 
> If ffmpeg -help showed those filters AVOptions it would be trivial to test.

Applied.
-- 
FFmpeg = Fancy and Forgiving Multimedia Proud Embarassing Glue


More information about the ffmpeg-devel mailing list