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

Lynne dev at lynne.ee
Fri Dec 3 18:06: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: v2-0001-hwcontext_vulkan-make-2-public-functions-always-a.patch
Type: text/x-patch
Size: 13898 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211203/05c9c07d/attachment.bin>


More information about the ffmpeg-devel mailing list