]> git.sesse.net Git - ffmpeg/commit
avutil/log: Add av_log_once() for printing a message just once with a high log level
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Jan 2020 15:34:07 +0000 (16:34 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Feb 2020 09:25:25 +0000 (10:25 +0100)
commit3182114f8815cb3324dd300d8254ecdb07dbe097
treecfd25373619b9cd168cd2bbd59c86a92a4c8fd84
parentf15007afa90a3eb3639848d9702c1cc3ac3e896b
avutil/log: Add av_log_once() for printing a message just once with a high log level

Compared to ad-hoc if(printed) ... code this allows the user to disable
it by adjusting the log level

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/APIchanges
libavutil/log.c
libavutil/log.h
libavutil/version.h