From cbdeaaf29ea79f936e57d3827bfa45029f205290 Mon Sep 17 00:00:00 2001 From: Peter Varga <pvarga@inf.u-szeged.hu> Date: Thu, 1 Jun 2017 09:57:22 +0200 Subject: [PATCH] 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> --- config.tests/libvpx/libvpx.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.tests/libvpx/libvpx.cpp b/config.tests/libvpx/libvpx.cpp index 258790309..ec261cd5a 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 **) { -- GitLab