[FFmpeg-devel] [PATCH] vulkan_decode: don't call get_proc_addr on every frame's destruction

Lynne dev at lynne.ee
Fri Sep 15 03:26:39 EEST 2023


The issue is that we cannot rely on any context existing when we free
frames, due to threading. The Vulkan functions are loaded in each context
separately, so until now, we've just been loading them on every frame's destruction.

Rather than do this, just save the function pointers we need in each
frame. The function pointers are guaranteed to not change and exist.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vulkan_decode-don-t-call-get_proc_addr-on-every-fram.patch
Type: text/x-diff
Size: 4070 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230915/d888525a/attachment.patch>


More information about the ffmpeg-devel mailing list