aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Penquerc'h2011-08-19 13:17:15 -0500
committerSebastian Dröge2011-08-23 03:23:21 -0500
commitc24d052bb7223efce1885e1577b0f9daeb3a3e7c (patch)
tree5034d54a83c1ca0dd87957966ef53e56f121b4f8 /configure.ac
parente323efc35345f8cc4942fd2598a08d97aeb023f0 (diff)
downloadgst-plugins-bad0-10-c24d052bb7223efce1885e1577b0f9daeb3a3e7c.tar.gz
gst-plugins-bad0-10-c24d052bb7223efce1885e1577b0f9daeb3a3e7c.tar.xz
gst-plugins-bad0-10-c24d052bb7223efce1885e1577b0f9daeb3a3e7c.zip
vp8: probe for the new tuning API to keep building with older libvpx
https://bugzilla.gnome.org/show_bug.cgi?id=656928
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f1619c7e5..8cb02a91b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1692,6 +1692,17 @@ AG_GST_CHECK_FEATURE(VP8, [VP8 decoder], vp8, [
1692 HAVE_VP8=yes 1692 HAVE_VP8=yes
1693 AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available]) 1693 AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available])
1694 VPX_LIBS="-lvpx" 1694 VPX_LIBS="-lvpx"
1695
1696 AC_TRY_COMPILE([
1697#include <vpx/vpx_encoder.h>
1698#include <vpx/vp8cx.h>
1699int foo=VP8E_SET_TUNING;
1700 ], [
1701return 0;
1702 ], [
1703 AC_DEFINE(HAVE_VP8ENC_TUNING, 1, [Defined if the VP8 encoder has tuning API])
1704 ], [
1705 ])
1695 ]) 1706 ])
1696 AC_CHECK_LIB(vpx, vpx_codec_vp8_dx_algo, [ 1707 AC_CHECK_LIB(vpx, vpx_codec_vp8_dx_algo, [
1697 HAVE_VP8=yes 1708 HAVE_VP8=yes