From fda55709d245e948b80e57c2179790326967cdb8 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 23 Mar 2020 19:01:21 +0100 Subject: [PATCH] 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 --- package/mediastreamer/mediastreamer.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2