• Peter Varga's avatar
    Fix libvpx detection · cbdeaaf2
    Peter Varga authored
    
    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: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
    cbdeaaf2
libvpx.cpp 1.52 KiB
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWebEngine module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
** $QT_END_LICENSE$
****************************************************************************/
#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 **)
    return 0;