log: flip highlight bit for codec & muxer layer

This way the encoder/muxer side is bold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 493156ed31
commit bc210bfca6
  1. 24
      libavutil/log.c

@ -43,12 +43,12 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
[AV_LOG_VERBOSE/8] = 10,
[AV_LOG_DEBUG /8] = 10,
[16+AV_CLASS_CATEGORY_NA ] = 7,
[16+AV_CLASS_CATEGORY_INPUT ] = 5,
[16+AV_CLASS_CATEGORY_OUTPUT ] = 13,
[16+AV_CLASS_CATEGORY_MUXER ] = 5,
[16+AV_CLASS_CATEGORY_DEMUXER ] = 13,
[16+AV_CLASS_CATEGORY_ENCODER ] = 3,
[16+AV_CLASS_CATEGORY_DECODER ] = 11,
[16+AV_CLASS_CATEGORY_INPUT ] = 13,
[16+AV_CLASS_CATEGORY_OUTPUT ] = 5,
[16+AV_CLASS_CATEGORY_MUXER ] = 13,
[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_BITSTREAM_FILTER] = 9,
};
@ -68,12 +68,12 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
[AV_LOG_VERBOSE/8] = 0x02,
[AV_LOG_DEBUG /8] = 0x02,
[16+AV_CLASS_CATEGORY_NA ] = 9,
[16+AV_CLASS_CATEGORY_INPUT ] = 0x05,
[16+AV_CLASS_CATEGORY_OUTPUT ] = 0x15,
[16+AV_CLASS_CATEGORY_MUXER ] = 0x05,
[16+AV_CLASS_CATEGORY_DEMUXER ] = 0x15,
[16+AV_CLASS_CATEGORY_ENCODER ] = 0x06,
[16+AV_CLASS_CATEGORY_DECODER ] = 0x16,
[16+AV_CLASS_CATEGORY_INPUT ] = 0x15,
[16+AV_CLASS_CATEGORY_OUTPUT ] = 0x05,
[16+AV_CLASS_CATEGORY_MUXER ] = 0x15,
[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_BITSTREAM_FILTER] = 0x14,
};

Loading…
Cancel
Save