From c253340ae6f74ffd8798bbd476e46d1b33a2d56e Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 16 Mar 2015 08:57:34 +0000 Subject: log: Introduce a more verbose debug level And deprecate av_dlog macro. --- libavutil/log.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavutil/log.h') diff --git a/libavutil/log.h b/libavutil/log.h index 4e4424a553..d4daea9c1a 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -24,6 +24,7 @@ #include #include "avutil.h" #include "attributes.h" +#include "version.h" /** * Describe the class of an AVClass context structure. That is an @@ -143,6 +144,11 @@ typedef struct AVClass { */ #define AV_LOG_DEBUG 48 +/** + * Extremely verbose debugging, useful for libav* development. + */ +#define AV_LOG_TRACE 56 + /** * @} */ @@ -243,8 +249,10 @@ void av_log_default_callback(void *avcl, int level, const char *fmt, */ const char* av_default_item_name(void* ctx); +#if FF_API_DLOG /** * av_dlog macros + * @deprecated unused * Useful to print debug messages that shouldn't get compiled in normally. */ @@ -253,6 +261,7 @@ const char* av_default_item_name(void* ctx); #else # define av_dlog(pctx, ...) #endif +#endif /* FF_API_DLOG */ /** * Skip repeated messages, this requires the user app to use av_log() instead of -- cgit v1.2.3