[FFmpeg-devel] [PATCH 25/38] avfilter/avfilter: Honour the short options documentation

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Sep 13 15:00:34 EEST 2021


Paul B Mahol:
> lgtm
> maybe add log messages about ignored stuff
> 

avfilter_init_str() already contains a log message about ignored stuff;
but it is currently dead code, because process_options() errors out if
it encounters an unknown option. That way only the first unrecognized
option will be printed.

This patch meanwhile is not about ignoring stuff at all; instead it
rejects (i.e. errors out) shorthand options after a non-shorthand option
has been encountered.

- Andreas


More information about the ffmpeg-devel mailing list