avfilter/af_astats: Only print header lines when values are to be printed
authorTobias Rapp <t.rapp@noa-archive.com>
Thu, 25 Mar 2021 16:26:37 +0000 (17:26 +0100)
committerTobias Rapp <t.rapp@noa-archive.com>
Wed, 14 Jul 2021 08:31:33 +0000 (10:31 +0200)
commitca56299fb3f71badee457c4c36a893f626c4a274
tree1078acab21a70def073eec3882b13d73ea2fceb1
parentf531a1a4e8f5bbc66d6077efe3b4f90f76cc5f51
avfilter/af_astats: Only print header lines when values are to be printed

Avoids empty "Channel" or "Overall" header lines added to log output
when measurement is restricted to one scope using
"measure_perchannel=none" or "measure_overall=none".

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
libavfilter/af_astats.c