summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Long <b.long@cablelabs.com>2013-12-23 12:23:27 -0600
committerSebastian Dröge <sebastian@centricular.com>2013-12-26 09:02:09 +0100
commit0199572035dafe0245272e42a8025fb23bc0e9ea (patch)
tree525e5184b9f5831cea923eee5b0188bbf9e701f1
parente79810c48d4ba87a0b8494ccab41ddf118532501 (diff)
vp9dec: Require vpx >= 1.3.0 for building vp9dec and vp9enc
Previous versions did not have a stable bitstream for VP9. https://bugzilla.gnome.org/show_bug.cgi?id=720986
-rw-r--r--configure.ac19
1 files changed, 11 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 7aad309424..6a1b8600b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -961,14 +961,17 @@ AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [
HAVE_VP8=yes
AC_DEFINE(HAVE_VP8_DECODER, 1, [Defined if the VP8 decoder is available])
])
- AC_CHECK_LIB(vpx, vpx_codec_vp9_cx_algo, [
- HAVE_VP9=yes
- AC_DEFINE(HAVE_VP9_ENCODER, 1, [Defined if the VP9 encoder is available])
- ])
- AC_CHECK_LIB(vpx, vpx_codec_vp9_dx_algo, [
- HAVE_VP9=yes
- AC_DEFINE(HAVE_VP9_DECODER, 1, [Defined if the VP9 decoder is available])
- ])
+
+ PKG_CHECK_MODULES(VPX_130, vpx >= 1.3.0, [
+ AC_CHECK_LIB(vpx, vpx_codec_vp9_cx_algo, [
+ HAVE_VP9=yes
+ AC_DEFINE(HAVE_VP9_ENCODER, 1, [Defined if the VP9 encoder is available])
+ ])
+ AC_CHECK_LIB(vpx, vpx_codec_vp9_dx_algo, [
+ HAVE_VP9=yes
+ AC_DEFINE(HAVE_VP9_DECODER, 1, [Defined if the VP9 decoder is available])
+ ])
+ ], [true])
LIBS="$OLD_LIBS"
CFLAGS="$OLD_CFLAGS"
fi