]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: do not OR the user-specified usage with our default flags
authorLynne <dev@lynne.ee>
Thu, 14 May 2020 23:16:58 +0000 (00:16 +0100)
committerLynne <dev@lynne.ee>
Sat, 23 May 2020 18:07:41 +0000 (19:07 +0100)
commit2c6366590e912714913680af8ea628262975755c
tree8e27653d7a58ebff9256055ecce02ba4842f0e21
parent98405422be81f007bcfd04b29bde8b6a94ab36f7
hwcontext_vulkan: do not OR the user-specified usage with our default flags

Some users may need special formats that aren't available when the STORAGE
flag bit is set, which would result in allocations failing.
libavutil/hwcontext_vulkan.c
libavutil/hwcontext_vulkan.h