mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-21 13:21:55 +08:00
Check that the driver supports both BUFFER_OFFSET and BYTES_WRITTEN encode feedback flags before creating the query pool, failing with EINVAL if either is missing. Set these flags explicitly instead of masking off HAS_OVERRIDES with a bitwise NOT, which could pass unrecognized bits from newer drivers to vkCreateQueryPool causing validation errors and crashes.
42 KiB
42 KiB