diff mbox series

[FFmpeg-devel,1/2] configure: fix some filter dependencies

Message ID 20210504122712.868-1-matthias.troffaes@gmail.com
State Accepted
Commit 13180968f8058118c177815b11b4afd11ac9df08
Headers show
Series [FFmpeg-devel,1/2] configure: fix some filter dependencies | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Matthias Troffaes May 4, 2021, 12:27 p.m. UTC
Fixes builds with

--disable-avcodec --disable-avformat --enable-avfilter

which currently results in a broken avfilter library due to a few
filters that require avcodec or avformat getting mistakenly
compiled.
---
 configure | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Matthias Troffaes May 4, 2021, 1:12 p.m. UTC | #1
On Tue, May 4, 2021 at 1:27 PM Matthias C. M. Troffaes
<matthias.troffaes@gmail.com> wrote:
> Fixes builds with
>
> --disable-avcodec --disable-avformat --enable-avfilter
>
> which currently results in a broken avfilter library due to a few
> filters that require avcodec or avformat getting mistakenly
> compiled.

Note that this part of the patch series was originally posted back in February:

http://ffmpeg.org/pipermail/ffmpeg-devel/2021-February/275819.html

but it did not show up on patchwork (due to an issue with gmail,
maybe, I'm now using git send-email instead of attachment and that
seems to work better with patchwork). I'd appreciate if both patches
could be applied, if acceptable.

Kind regards,
Matthias
diff mbox series

Patch

diff --git a/configure b/configure
index 6580859ef2..9e45c0822c 100755
--- a/configure
+++ b/configure
@@ -3543,6 +3543,7 @@  afftfilt_filter_deps="avcodec"
 afftfilt_filter_select="fft"
 afir_filter_deps="avcodec"
 afir_filter_select="rdft"
+ametadata_filter_deps="avformat"
 amovie_filter_deps="avcodec avformat"
 aresample_filter_deps="swresample"
 asoftclip_filter_deps="swresample"
@@ -3601,6 +3602,7 @@  freezedetect_filter_select="scene_sad"
 frei0r_filter_deps="frei0r libdl"
 frei0r_src_filter_deps="frei0r libdl"
 fspp_filter_deps="gpl"
+headphone_filter_deps="avcodec"
 headphone_filter_select="fft"
 histeq_filter_deps="gpl"
 hqdn3d_filter_deps="gpl"
@@ -3610,6 +3612,7 @@  ladspa_filter_deps="ladspa libdl"
 lensfun_filter_deps="liblensfun version3"
 lv2_filter_deps="lv2"
 mcdeint_filter_deps="avcodec gpl"
+metadata_filter_deps="avformat"
 movie_filter_deps="avcodec avformat"
 mpdecimate_filter_deps="gpl"
 mpdecimate_filter_select="pixelutils"
@@ -3652,12 +3655,14 @@  showcqt_filter_suggest="libfontconfig libfreetype"
 showcqt_filter_select="fft"
 showfreqs_filter_deps="avcodec"
 showfreqs_filter_select="fft"
+showspatial_filter_deps="avcodec"
 showspatial_filter_select="fft"
 showspectrum_filter_deps="avcodec"
 showspectrum_filter_select="fft"
 showspectrumpic_filter_deps="avcodec"
 showspectrumpic_filter_select="fft"
 signature_filter_deps="gpl avcodec avformat"
+sinc_filter_deps="avcodec"
 sinc_filter_select="rdft"
 smartblur_filter_deps="gpl swscale"
 sobel_opencl_filter_deps="opencl"
@@ -3673,7 +3678,9 @@  stereo3d_filter_deps="gpl"
 subtitles_filter_deps="avformat avcodec libass"
 super2xsai_filter_deps="gpl"
 pixfmts_super2xsai_test_deps="super2xsai_filter"
+superequalizer_filter_deps="avcodec"
 superequalizer_filter_select="rdft"
+surround_filter_deps="avcodec"
 surround_filter_select="rdft"
 tinterlace_filter_deps="gpl"
 tinterlace_merge_test_deps="tinterlace_filter"