]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: initialize semaphores of DMABUF imports
authorLynne <dev@lynne.ee>
Thu, 12 Mar 2020 18:01:07 +0000 (18:01 +0000)
committerLynne <dev@lynne.ee>
Thu, 12 Mar 2020 18:16:11 +0000 (18:16 +0000)
commit501bd57bdbc488db93c95d40682ef0b4f01ccec5
treea84a2b81ca301a8a1fd08f00a42b431a3c81171d
parent9086af2a0a590c7f576b72379d1708392cd96d5c
hwcontext_vulkan: initialize semaphores of DMABUF imports

There was a recent change in Intel's driver that triggered a driver-internal
error if the semaphore given to the command buffer wasn't initialized.
Given that the specifications require the semaphore to be initialized,
this is within spec. Unlike what's causing it in the first place, which is
that there are no ways to extract/import dma sync objects from DMABUFs,
so we must leave our semaphores bare.
libavutil/hwcontext_vulkan.c