aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/log.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-20 02:48:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-20 02:48:19 +0200
commit8e8219e0f0725116809cdd1c17c868cb08da0dec (patch)
treeeccf6f91c9ff4d49aaa71727640934cec80fcfa0 /libavutil/log.h
parent93db2708d3b0bcc1f1d87d23ae8adbedd8ea6660 (diff)
parentc253340ae6f74ffd8798bbd476e46d1b33a2d56e (diff)
downloadffmpeg-8e8219e0f0725116809cdd1c17c868cb08da0dec.tar.gz
Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e'
* commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e': log: Introduce a more verbose debug level Conflicts: doc/APIchanges doc/fftools-common-opts.texi libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 993a4f5bed..51bc0a7b26 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"
typedef enum {
AV_CLASS_CATEGORY_NA = 0,
@@ -198,6 +199,11 @@ typedef struct AVClass {
#define AV_LOG_MAX_OFFSET (AV_LOG_DEBUG - AV_LOG_QUIET)
/**
+ * Extremely verbose debugging, useful for libav* development.
+ */
+#define AV_LOG_TRACE 56
+
+/**
* @}
*/
@@ -311,8 +317,10 @@ AVClassCategory av_default_get_category(void *ptr);
void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
char *line, int line_size, int *print_prefix);
+#if FF_API_DLOG
/**
* av_dlog macros
+ * @deprecated unused
* Useful to print debug messages that shouldn't get compiled in normally.
*/
@@ -321,6 +329,7 @@ void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
#else
# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
#endif
+#endif /* FF_API_DLOG */
/**
* Skip repeated messages, this requires the user app to use av_log() instead of