diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-03 21:07:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-03 21:07:32 +0200 |
commit | d9ac00ca7a8cabd8d19e580a42d9129b8831fa52 (patch) | |
tree | 4a37817188bd8e8543c44ce25be221e7a6cace57 /libavutil/log.h | |
parent | 002feaf6e22c80f542d3155cf5af67ee5e945cc8 (diff) | |
parent | 42ba1c51d9e843135772a3b9e5cf036a37b28bdb (diff) | |
download | ffmpeg-d9ac00ca7a8cabd8d19e580a42d9129b8831fa52.tar.gz |
Merge commit '42ba1c51d9e843135772a3b9e5cf036a37b28bdb'
* commit '42ba1c51d9e843135772a3b9e5cf036a37b28bdb':
log: Document AV_LOG_C usage
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libavutil/log.h b/libavutil/log.h index 48abd4a1b9..665c65144e 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -188,16 +188,18 @@ typedef struct AVClass { #define AV_LOG_MAX_OFFSET (AV_LOG_DEBUG - AV_LOG_QUIET) /** - * Sets additional colors for extended debugging sessions. - * Requires 256color terminal support. Use outside debugging is not - * recommended. + * @} */ -#define AV_LOG_C(x) (x << 8) - /** - * @} + * Sets additional colors for extended debugging sessions. + * @code + av_log(ctx, AV_LOG_DEBUG|AV_LOG_C(134), "Message in purple\n"); + @endcode + * Requires 256color terminal support. Uses outside debugging is not + * recommended. */ +#define AV_LOG_C(x) (x << 8) /** * Send the specified message to the log if the level is less than or equal |