On 2/1/2018 4:03 AM, Nicolas George wrote:
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.
For what it's worth, I use avfilter_next() on startup in MLT to generate a list of valid user options:
https://github.com/mltframework/mlt/blob/master/src/modules/avformat/factory.c#L415 I would prefer some way to loop through the filters in linear time. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel