[FFmpeg-devel] [PATCH 1/2] fftools/cmdutils: add logflags option

Tobias Rapp t.rapp at noa-archive.com
Mon Mar 19 10:31:44 EET 2018


On 14.03.2018 09:55, Tobias Rapp wrote:
> Allows to set the AV_LOG_PRINT_LEVEL and AV_LOG_SKIP_REPEATED flags
> using a distinct command-line option, similar to other flag options.
> Previously only the AV_LOG_SKIP_REPEATED flag was supported as a prefix
> to the "loglevel" option value.
> 
> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
> ---
>   doc/fftools-common-opts.texi | 13 +++++++++++++
>   fftools/cmdutils.c           | 31 +++++++++++++++++++++++++++++++
>   fftools/cmdutils.h           |  6 ++++++
>   3 files changed, 50 insertions(+)
> 
> [...]

Any opinions? My motivation was adding support for AV_LOG_PRINT_LEVEL on 
the CLI. Using the existing flags option string parsing functions seemed 
easier and more consistent that extending the custom loglevel string parser.

Regards,
Tobias



More information about the ffmpeg-devel mailing list