diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-04-26 15:12:05 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-04-03 15:54:49 +0200 |
commit | 7763118cae4eb468b032dbd29af15a011c2c233b (patch) | |
tree | 9a6060d77a2de61fb30193c45c6d62a5a0ca3d1c /libavutil/log.h | |
parent | 006c253346d90f4abaf69d78083c8ba031628598 (diff) | |
download | ffmpeg-7763118cae4eb468b032dbd29af15a011c2c233b.tar.gz |
log: Support for 256color terminals
And provide extended coloring capabilities for debugging.
The default colors do not change in 256 more to keep
supporting people using Black on White, White on Black and
Solarized terminals.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h index 6d26b67db8..2f7811c072 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -144,6 +144,14 @@ typedef struct AVClass { #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) + +/** * @} */ |