log: change color for filters from blue to bright green
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 20 Jun 2012 15:17:50 +0000 (17:17 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 27 Jun 2012 22:36:32 +0000 (00:36 +0200)
The blue is difficult to read on several peoples terminals with black background.

Idea-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/log.c

index a641682..a08223e 100644 (file)
@@ -56,7 +56,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
     [16+AV_CLASS_CATEGORY_DEMUXER         ] =  5,
     [16+AV_CLASS_CATEGORY_ENCODER         ] = 11,
     [16+AV_CLASS_CATEGORY_DECODER         ] =  3,
-    [16+AV_CLASS_CATEGORY_FILTER          ] =  1,
+    [16+AV_CLASS_CATEGORY_FILTER          ] = 10,
     [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] =  9,
 };
 
@@ -81,7 +81,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
     [16+AV_CLASS_CATEGORY_DEMUXER         ] = 0x05,
     [16+AV_CLASS_CATEGORY_ENCODER         ] = 0x16,
     [16+AV_CLASS_CATEGORY_DECODER         ] = 0x06,
-    [16+AV_CLASS_CATEGORY_FILTER          ] = 0x04,
+    [16+AV_CLASS_CATEGORY_FILTER          ] = 0x12,
     [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 0x14,
 };