hwcontext_vulkan: expose enabled device and instance extensions

Multimedia / FFmpeg - Lynne [lynne.ee] - 10 May 2020 22:20 UTC

This solves a huge oversight - it lets users reliably use their own AVVulkanDeviceContext. Otherwise, the extensions supplied and enabled are not discoverable by anything outside of hwcontext_vulkan. Also clarifies that any user-supplied VkInstance must be at least 1.1.

dccd07f66d hwcontext_vulkan: expose enabled device and instance extensions
doc/APIchanges | 4 ++++
libavutil/hwcontext_vulkan.c | 40 +++++++++++++++++++++++++++++++---------
libavutil/hwcontext_vulkan.h | 21 ++++++++++++++++++++-
libavutil/version.h | 2 +-
4 files changed, 56 insertions(+), 11 deletions(-)

  • Share