mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-19 00:00:50 +08:00
6a262d11f6
libavutil deprecated AVVulkanDeviceContext.lock/unlock_queue in favour of VK_KHR_internally_synchronized_queues. libplacebo enables the extension only on request, because queues created with it have to be retrieved with the matching VkDeviceQueueCreateFlags, which lavu handles since 60.32 (AVVulkanDeviceContext.queue_flags). Request the extension and the feature when both lavu and libplacebo (API 365, pl_vulkan_queue.flags) know the flags. Old FFmpeg keeps getting plain queues, FFmpeg 9 gets internally synchronized ones with the flag passed on by hwdec_vulkan.