1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-06-20 17:17:50 +02:00
parent 4ccf6e3971
commit ee7214c59a

View 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_DEMUXER ] = 5,
[16+AV_CLASS_CATEGORY_ENCODER ] = 11, [16+AV_CLASS_CATEGORY_ENCODER ] = 11,
[16+AV_CLASS_CATEGORY_DECODER ] = 3, [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, [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_DEMUXER ] = 0x05,
[16+AV_CLASS_CATEGORY_ENCODER ] = 0x16, [16+AV_CLASS_CATEGORY_ENCODER ] = 0x16,
[16+AV_CLASS_CATEGORY_DECODER ] = 0x06, [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, [16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 0x14,
}; };