aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-03-23 19:01:21 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-29 08:49:53 +0100
commit0bdb0ea0130f41413b2982bf9c554a9fd94a367c (patch)
tree26de24b7e4eda23649b9df2cff1df1cdf2fdb236
parentdc0d1d63a0d9c27130ea81dbf1098b0d8a0b7989 (diff)
downloadbuildroot-0bdb0ea0130f41413b2982bf9c554a9fd94a367c.tar.gz
buildroot-0bdb0ea0130f41413b2982bf9c554a9fd94a367c.tar.bz2
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 <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit fda55709d245e948b80e57c2179790326967cdb8) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mediastreamer/mediastreamer.mk6
1 files changed, 6 insertions, 0 deletions
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