1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

log: Introduce a more verbose debug level

And deprecate av_dlog macro.
This commit is contained in:
Vittorio Giovara
2015-03-16 08:57:34 +00:00
parent b8d7f3186e
commit c253340ae6
6 changed files with 24 additions and 4 deletions

View File

@@ -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
@@ -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