mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
configure: add the libswscale dependency of scale_vulkan
scale_vulkan calls sws_alloc_context(), sws_scale_frame() and sws_free_context(), and scale_vulkan_filter_deps lists swscale, but the conditional library dependency list has no entry for the filter. A build with only this filter enabled sets avfilter_FFLIBS=avutil, so a shared libavfilter has no libswscale NEEDED entry and a consumer linked with -Wl,--no-allow-shlib-undefined fails on the three sws_* symbols. With this entry avfilter_FFLIBS=swscale avutil and the consumer links and runs with LD_BIND_NOW=1. A standalone scale_vulkan build also needs scale_eval.o, which "avfilter/Makefile: add missing objects for standalone Vulkan filters" adds. Signed-off-by: lusoris <lusoris@proton.me>
This commit is contained in:
1 parent
39ccb3ca12
commit
a7206f6ba3
1 file changed
+1
@@ -8252,6 +8252,7 @@ enabled qrencodesrc_filter && prepend avfilter_deps "swscale"
|
||||
enabled removelogo_filter && prepend avfilter_deps "avformat avcodec swscale"
|
||||
enabled sab_filter && prepend avfilter_deps "swscale"
|
||||
enabled scale_filter && prepend avfilter_deps "swscale"
|
||||
enabled scale_vulkan_filter && prepend avfilter_deps "swscale"
|
||||
enabled scale2ref_filter && prepend avfilter_deps "swscale"
|
||||
enabled showcqt_filter && prepend avfilter_deps "avformat swscale"
|
||||
enabled signature_filter && prepend avfilter_deps "avcodec"
|
||||
|
||||
Reference in new issue
Block a user