2013-11-15 22:28:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Guillaume Martres <smarter@ubuntu.com>
|
|
|
|
*
|
2013-12-08 12:49:16 +00:00
|
|
|
* This file is part of FFmpeg.
|
2013-11-15 22:28:30 +00:00
|
|
|
*
|
2013-12-08 12:49:16 +00:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2013-11-15 22:28:30 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2013-12-08 12:49:16 +00:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2013-11-15 22:28:30 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2013-12-08 12:49:16 +00:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2013-11-15 22:28:30 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <vpx/vpx_codec.h>
|
|
|
|
|
|
|
|
#include "libvpx.h"
|
|
|
|
|
2013-12-08 13:04:06 +00:00
|
|
|
av_cold void ff_vp9_init_static(AVCodec *codec)
|
2013-11-15 22:28:30 +00:00
|
|
|
{
|
2013-12-08 13:04:06 +00:00
|
|
|
if ( vpx_codec_version_major() < 1
|
|
|
|
|| (vpx_codec_version_major() == 1 && vpx_codec_version_minor() < 3))
|
|
|
|
codec->capabilities |= CODEC_CAP_EXPERIMENTAL;
|
2013-11-15 22:28:30 +00:00
|
|
|
}
|