[vlc-devel] [PATCH 1/2] configure: bump opus requirement to 1.1
Tristan Matthews
tmatth at videolan.org
Wed Jun 28 19:18:45 CEST 2017
Released in 2013, required for opus_pcm_soft_clip.
---
configure.ac | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 67fc7de..550f0cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2702,7 +2702,15 @@ AM_CONDITIONAL([HAVE_SPEEXDSP], [test "$have_speexdsp" = "yes"])
dnl
dnl Opus plugin
dnl
-PKG_ENABLE_MODULES_VLC([OPUS], [], [ogg opus >= 1.0.3], [Opus support], [auto])
+have_opus="no"
+AS_IF([test "${enable_opus}" != "no"], [
+ PKG_CHECK_MODULES([OPUS], [ogg opus >= 1.1], [
+ have_opus="yes"
+ ], [
+ AC_MSG_WARN([${OPUS_PKG_ERRORS}.])
+ ])
+])
+AM_CONDITIONAL([HAVE_OPUS], [test "$have_opus" = "yes"])
dnl
dnl theora decoder plugin
--
2.7.4
More information about the vlc-devel
mailing list