On Tue, Jan 30, 2018 at 2:58 PM, wm4 <nfx...@googlemail.com> wrote: > On Tue, 30 Jan 2018 14:24:12 +0700 > Muhammad Faiz <mfc...@gmail.com> wrote: > >> Move REGISTER_FILTER to FILTER_TABLE in configure. >> Auto generate filter extern and filter table. >> Sort filter table, use bsearch on avfilter_get_by_name. >> Define next pointer at filter extern, no need to initialize >> next pointer at run time, so AVFilter can be set to const. >> Make avfilter_register always return error. >> Target checkasm now depends on EXTRALIBS-avformat. >> >> Signed-off-by: Muhammad Faiz <mfc...@gmail.com> >> --- > > Pretty nice. Should we still add a new filter listing API that uses the > same idiom as the BSF API? (Although you generate the .next links at > configure time it might still be nice to eventually get rid of that.)
IMHO, it is uglier (i.e. by requiring opaque pointer). I don't know other people's opinion. Anyway, it can be added later. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel