lavu/log: fix color for AV_CLASS_CATEGORY_HWDEVICE on non-Win32
AV_CLASS_CATEGORY_HWDEVICE was introduced in the past but
no corresponding colors were added for non-Win32 platforms.
Fixes bf1579c ("avutil/log,hwcontext: Add AV_CLASS_CATEGORY_HWDEVICE")
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
f6c4a64ee0
commit
49f4ef9e79
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ static const uint32_t color[16 + AV_CLASS_CATEGORY_NB] = {
|
|||
[16+AV_CLASS_CATEGORY_BITSTREAM_FILTER] = 192 << 8 | 0x14,
|
||||
[16+AV_CLASS_CATEGORY_SWSCALER ] = 153 << 8 | 0x14,
|
||||
[16+AV_CLASS_CATEGORY_SWRESAMPLER ] = 147 << 8 | 0x14,
|
||||
[16+AV_CLASS_CATEGORY_HWDEVICE ] = 214 << 8 | 0x13,
|
||||
[16+AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT ] = 213 << 8 | 0x15,
|
||||
[16+AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT ] = 207 << 8 | 0x05,
|
||||
[16+AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT ] = 213 << 8 | 0x15,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue