summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2017-06-01 09:57:22 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-06-16 12:25:25 +0000
commitcbdeaaf29ea79f936e57d3827bfa45029f205290 (patch)
tree307b1ef85f398cc24b876bcb7cd27c597e3656ed /config.tests
parentce5da3f31cd8d5a422053f003be2f5b1b432b1bb (diff)
Fix libvpx detection
webrtc in 58-based Chromium uses "decoder getters for the last quantizer" in libvpx. This feautre is not available in the current latest release of libvpx (1.6.1) thus add config test for the corresponding macro. Change-Id: Ib60582bc5401ce0c8960b99c4369bb373ea754d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/libvpx/libvpx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/libvpx/libvpx.cpp b/config.tests/libvpx/libvpx.cpp
index 25879030..ec261cd5 100644
--- a/config.tests/libvpx/libvpx.cpp
+++ b/config.tests/libvpx/libvpx.cpp
@@ -28,6 +28,11 @@
#include <vpx/svc_context.h>
#include <vpx/vpx_frame_buffer.h>
+#include <vpx/vp8dx.h>
+
+#ifndef VPX_CTRL_VPXD_GET_LAST_QUANTIZER
+#error "This version of libvpx is too old, it is missing VPX_CTRL_VPXD_GET_LAST_QUANTIZER define"
+#endif
int main(int, char **)
{