From 4022392af5a56ce5cd0051ffbbd5b8058d413125 Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Thu, 30 Sep 2010 16:30:32 +0800 Subject: Added VA_STATUS_ERROR_DECODING/ENCODING_ERROR to report decode/encode error Can be used for vaSyncSurface Signed-off-by: Austin Yuan --- va/va.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/va/va.h b/va/va.h index f9a4fb7..efb05f7 100644 --- a/va/va.h +++ b/va/va.h @@ -128,6 +128,8 @@ typedef int VAStatus; /* Return status type from functions */ #define VA_STATUS_ERROR_UNIMPLEMENTED 0x00000014 #define VA_STATUS_ERROR_SURFACE_IN_DISPLAYING 0x00000015 #define VA_STATUS_ERROR_INVALID_IMAGE_FORMAT 0x00000016 +#define VA_STATUS_ERROR_DECODING_ERROR 0x00000017 +#define VA_STATUS_ERROR_ENCODING_ERROR 0x00000018 #define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF /* De-interlacing flags for vaPutSurface() */ -- cgit v1.2.3