[FFmpeg-devel] [PATCH] hwcontext_vulkan: make 2 public functions always available

Lynne dev at lynne.ee
Thu Dec 2 20:01:08 EET 2021


The issue is that if ffmpeg is compiled without Vulkan, and an API 
user includes and uses the functions exposed in hwcontext_vulkan.h,
then a linking error will happen, as the hwcontext_vulkan.c file has
not been compiled.

Move the functions to another file, and make it always compiled. The
functions do not use any Vulkan functions.

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hwcontext_vulkan-make-2-public-functions-always-avai.patch
Type: text/x-patch
Size: 13479 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211202/20b2df63/attachment.bin>


More information about the ffmpeg-devel mailing list