summaryrefslogtreecommitdiff
path: root/libavutil/log.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-03 20:40:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-03 20:44:14 +0200
commitc16e00618122a7f1217f5174a6c4013eb57421b0 (patch)
treea89cf01819d097408ed3ce96d3d7cc28e399149e /libavutil/log.h
parent061e340c05bde91ac988677e47bc562b04be5c20 (diff)
parent7763118cae4eb468b032dbd29af15a011c2c233b (diff)
Merge commit '7763118cae4eb468b032dbd29af15a011c2c233b'
* commit '7763118cae4eb468b032dbd29af15a011c2c233b': log: Support for 256color terminals Conflicts: doc/APIchanges libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index f16e38221b..48abd4a1b9 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -188,6 +188,14 @@ 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)
+
+/**
* @}
*/