[FFmpeg-devel] lavfi: fix undefined ff_vk_shader_print if vulkan filters are disabled

Wang Bin wbsecg1 at gmail.com
Thu Jan 16 14:45:23 EET 2025


Lynne <dev at lynne.ee> 于2025年1月16日周四 16:19写道:

> On 16/01/2025 15:24, Wang Bin wrote:
> >
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
> The better way would be to
>
> ifdef CONFIG_VULKAN
> ...
> endif
>
> Does the patch I sent fix the issue?
>

No. I enable vulkan to use vulkan decoders. Also enable libshaderc to test
ffv1_vulkan encoder. If all vulkan filters are disabled, I get undefined
ff_vk_shader_print error in libavfilter, which is used by
libavfilter/vulkan_shaderc.c


More information about the ffmpeg-devel mailing list