diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-02-02 00:13:48 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-19 15:17:28 +0800 |
commit | 34b102240aaf71e0e3d09977bf4ca68c0bf2d03a (patch) | |
tree | 492a7058ce56fbbaa4f27d19d4f216265a39e5e2 /va | |
parent | 59eed897dd7902aad19af1a4de8e1e4b6c160785 (diff) |
va: fix vaErrorStr() to support new error codes.
(cherry picked from commit 7b5c35273dc0e8e0e86cf40cf2a398119a766397)
Diffstat (limited to 'va')
-rw-r--r-- | va/va.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -425,6 +425,12 @@ const char *vaErrorStr(VAStatus error_status) return "surface is in displaying (may by overlay)" ; case VA_STATUS_ERROR_INVALID_IMAGE_FORMAT: return "invalid VAImageFormat"; + case VA_STATUS_ERROR_INVALID_VALUE: + return "an invalid/unsupported value was supplied"; + case VA_STATUS_ERROR_UNSUPPORTED_FILTER: + return "the requested filter is not supported"; + case VA_STATUS_ERROR_INVALID_FILTER_CHAIN: + return "an invalid filter chain was supplied"; case VA_STATUS_ERROR_UNKNOWN: return "unknown libva error"; } |