Commit 42ba1c51 authored by Luca Barbato's avatar Luca Barbato Committed by Vittorio Giovara

log: Document AV_LOG_C usage

And move outside the wrong doxygen group.
parent 28b9ac4e
...@@ -144,16 +144,18 @@ typedef struct AVClass { ...@@ -144,16 +144,18 @@ typedef struct AVClass {
#define AV_LOG_DEBUG 48 #define AV_LOG_DEBUG 48
/** /**
* 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 * Send the specified message to the log if the level is less than or equal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment