diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-03-16 08:57:34 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-19 12:41:59 +0100 |
commit | c253340ae6f74ffd8798bbd476e46d1b33a2d56e (patch) | |
tree | c4f175dea6dcc18f0f5cdf3a2b92cde58a9de91b /libavutil/log.h | |
parent | b8d7f3186e86234f6255f5e8ee9e98573b4d9a6e (diff) | |
download | ffmpeg-c253340ae6f74ffd8798bbd476e46d1b33a2d56e.tar.gz |
log: Introduce a more verbose debug level
And deprecate av_dlog macro.
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <stdarg.h> #include "avutil.h" #include "attributes.h" +#include "version.h" /** * Describe the class of an AVClass context structure. That is an @@ -144,6 +145,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 |