fftools/cmdutils: add support for level flag in loglevel option parser
authorTobias Rapp <t.rapp@noa-archive.com>
Tue, 3 Apr 2018 06:54:10 +0000 (08:54 +0200)
committerTobias Rapp <t.rapp@noa-archive.com>
Tue, 3 Apr 2018 08:17:38 +0000 (10:17 +0200)
commit4b736bc921ed96ad6d312ce0cbe0de29b9e3fe81
tree48da35bec4af36ff23938044418f219cf5697941
parent197a4e8feed45b2e5868760240e83636818f32a9
fftools/cmdutils: add support for level flag in loglevel option parser

Allows to manage the AV_LOG_PRINT_LEVEL flag as a prefix to the loglevel
option value, similar to the existing AV_LOG_SKIP_REPEATE flag. Adds
support for setting flags relative to the existing value by using a +/-
prefix.

Previous version reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
fftools/cmdutils.c