[FFmpeg-devel] [PATCH] log: change color for filters from blue to bright green

Michael Niedermayer michaelni at gmx.at
Wed Jun 20 17:19:22 CEST 2012


The blue is difficult to read on several peoples terminals with black background.

Idea-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavutil/log.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/log.c b/libavutil/log.c
index e520a7b..a12833d 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -49,7 +49,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
     [16+AV_CLASS_CATEGORY_DEMUXER         ] = 13,
     [16+AV_CLASS_CATEGORY_ENCODER         ] =  3,
     [16+AV_CLASS_CATEGORY_DECODER         ] = 11,
-    [16+AV_CLASS_CATEGORY_FILTER          ] =  1,
+    [16+AV_CLASS_CATEGORY_FILTER          ] = 10,
     [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] =  9,
 };
 
@@ -74,7 +74,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
     [16+AV_CLASS_CATEGORY_DEMUXER         ] = 0x15,
     [16+AV_CLASS_CATEGORY_ENCODER         ] = 0x06,
     [16+AV_CLASS_CATEGORY_DECODER         ] = 0x16,
-    [16+AV_CLASS_CATEGORY_FILTER          ] = 0x04,
+    [16+AV_CLASS_CATEGORY_FILTER          ] = 0x12,
     [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 0x14,
 };
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list