mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
3f9e04b489
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.