2 * Copyright (C) 2006 David Schleef <ds@schleef.org>
3 * Copyright (C) 2010 Entropy Wave Inc
4 * Copyright (C) 2010 Sebastian Dröge <sebastian.droege@collabora.co.uk>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
29 /* FIXME: Undef HAVE_CONFIG_H because vpx_codec.h uses it,
30 * which causes compilation failures */
35 #include <vpx/vpx_codec.h>
37 #include "gstvp8utils.h"
40 gst_vpx_error_name (vpx_codec_err_t status)
47 case VPX_CODEC_MEM_ERROR:
49 case VPX_CODEC_ABI_MISMATCH:
50 return "abi mismatch";
51 case VPX_CODEC_INCAPABLE:
53 case VPX_CODEC_UNSUP_BITSTREAM:
54 return "unsupported bitstream";
55 case VPX_CODEC_UNSUP_FEATURE:
56 return "unsupported feature";
57 case VPX_CODEC_CORRUPT_FRAME:
58 return "corrupt frame";
59 case VPX_CODEC_INVALID_PARAM:
60 return "invalid parameter";