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

Michael Niedermayer git at videolan.org
Thu Jun 28 00:39:22 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 20 17:17:50 2012 +0200| [ee7214c59a2641389bec9e9598345c7a58f1e173] | committer: Michael Niedermayer

log: change color for filters from blue to bright green

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>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee7214c59a2641389bec9e9598345c7a58f1e173
---

 libavutil/log.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/log.c b/libavutil/log.c
index a641682..a08223e 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -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,
 };
 



More information about the ffmpeg-cvslog mailing list