[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: disable more false positive validation checks

Lynne dev at lynne.ee
Sun Sep 1 07:51:56 EEST 2024


Both of these are fundamentally incompatible with video decoding.
---
 libavutil/hwcontext_vulkan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 763fb9d120..b214791738 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -457,6 +457,8 @@ static VkBool32 VKAPI_CALL vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEX
 
     /* Ignore false positives */
     switch (data->messageIdNumber) {
+    case 0x086974c1: /* BestPractices-vkCreateCommandPool-command-buffer-reset */
+    case 0xfd92477a: /* BestPractices-vkAllocateMemory-small-allocation */
     case 0x30f4ac70: /* VUID-VkImageCreateInfo-pNext-06811 */
         return VK_FALSE;
     default:
-- 
2.45.2.753.g447d99e1c3b


More information about the ffmpeg-devel mailing list