[FFmpeg-devel] [PATCH] lavfi/testsrc: add a macro to create definition of filter class

Stefano Sabatini stefasab at gmail.com
Wed Aug 1 11:30:09 CEST 2012


On date Wednesday 2012-08-01 11:15:05 +0200, Nicolas George encoded:
> Le quintidi 15 thermidor, an CCXX, Stefano Sabatini a écrit :
> > The macro is similar to AVFILTER_DEFINE_MACRO, which can't be used
> > because the filters in the file share the same options.
> > 
> > Factorize.
> 
> LGTM. Maybe
> 
> #define testsrc_options    options
> #define rgbtestsrc_options options
> ...
> 
> would have worked too.

Indeed, better this way.
-- 
FFmpeg = Forgiving & Frenzy Martial Puristic Evil Gargoyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavfi-testsrc-use-AVFILTER_DEFINE_CLASS-for-defining.patch
Type: text/x-diff
Size: 2134 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120801/379f81cf/attachment.bin>


More information about the ffmpeg-devel mailing list