Commit 2135de7e authored by Austin Yuan's avatar Austin Yuan

Added VA_STATUS_ERROR_SURFACE_IN_DISPLAYING

Overlay may be used for vaPutSurface, in this case, vaSyncSurface can
return VA_STATUS_ERROR_SURFACE_IN_DISPLAYING to indication a failure
Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 4054d2e6
......@@ -313,6 +313,8 @@ const char *vaErrorStr(VAStatus error_status)
return "resolution not supported";
case VA_STATUS_ERROR_UNIMPLEMENTED:
return "the requested function is not implemented";
case VA_STATUS_ERROR_SURFACE_IN_DISPLAYING:
return "surface is in displaying (may by overlay)" ;
case VA_STATUS_ERROR_UNKNOWN:
return "unknown libva error";
}
......
......@@ -127,7 +127,8 @@ typedef int VAStatus; /* Return status type from functions */
#define VA_STATUS_ERROR_FLAG_NOT_SUPPORTED 0x00000011
#define VA_STATUS_ERROR_INVALID_PARAMETER 0x00000012
#define VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED 0x00000013
#define VA_STATUS_ERROR_UNIMPLEMENTED 0x00000014
#define VA_STATUS_ERROR_UNIMPLEMENTED 0x00000014
#define VA_STATUS_ERROR_SURFACE_IN_DISPLAYING 0x00000015
#define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment