[FFmpeg-cvslog] [ffmpeg] branch master updated. 49f4ef9e79 lavu/log: fix color for AV_CLASS_CATEGORY_HWDEVICE on non-Win32
ffmpeg-git at ffmpeg.org
ffmpeg-git at ffmpeg.org
Sun Aug 10 05:25:35 EEST 2025
The branch, master has been updated
via 49f4ef9e79e733c0210420708f100f1a6ed93d7f (commit)
from f6c4a64ee021846203ba89d37b42d7b8def4510e (commit)
- Log -----------------------------------------------------------------
commit 49f4ef9e79e733c0210420708f100f1a6ed93d7f
Author: nyanmisaka <nst799610810 at gmail.com>
AuthorDate: Sat Aug 9 20:39:15 2025 +0800
Commit: Kacper MichajÅow <kasper93 at gmail.com>
CommitDate: Sun Aug 10 02:24:56 2025 +0000
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 at gmail.com>
diff --git a/libavutil/log.c b/libavutil/log.c
index 2b721aea5a..af893dde17 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -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,
-----------------------------------------------------------------------
Summary of changes:
libavutil/log.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
More information about the ffmpeg-cvslog
mailing list