From: Fabrice Fontaine Date: Mon, 23 Mar 2020 18:01:21 +0000 (+0100) Subject: package/mediastreamer: resample needs speex and speexdsp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fda55709d245e948b80e57c2179790326967cdb8;p=buildroot.git package/mediastreamer: resample needs speex and speexdsp resample needs speex and speexdsp as spotted by Thomas Petazzoni during review of https://patchwork.ozlabs.org/patch/1252391/ Fixes: - http://autobuild.buildroot.org/results/32d06517a5470f71d9b7dc99139f6c3071e7d77d Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk index 691eaddb52..982eadf099 100644 --- a/package/mediastreamer/mediastreamer.mk +++ b/package/mediastreamer/mediastreamer.mk @@ -113,6 +113,12 @@ else MEDIASTREAMER_CONF_OPTS += -DENABLE_SPEEX_DSP=OFF endif +ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) +MEDIASTREAMER_CONF_OPTS += -DENABLE_RESAMPLE=ON +else +MEDIASTREAMER_CONF_OPTS += -DENABLE_RESAMPLE=OFF +endif + ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) MEDIASTREAMER_CONF_OPTS += -DENABLE_FFMPEG=ON MEDIASTREAMER_DEPENDENCIES += ffmpeg