Hi. Muhammad Faiz (2018-01-30): > 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.
Regarding registering user filters, do not bother about that. That ship has sailed a long time ago; it is already more than half-way across and decelerating. If somebody wants to implement plugins, they will have a lot of work. Designing a way of registering user filters so that they can be parsed by name would be a spoonful in the pool. Regarding the actual implementation: I do not like that you moved the list into configure. Not per se, but because it is completely different from what Josh de Kock is doing with codecs, parsers and formats. Please coordinate with Josh to have a consistent solution for all components. I think the fact that you need to insert a line in each filter is rather a sign that the design is far from perfect. Regarding the efficiency of avfilter_next(), I think we should not care. Almost nobody uses that function outside lavfi anyway. If it proves a concern for some application, we can deal with it when it is found. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel