summaryrefslogtreecommitdiff
path: root/src/va.c
diff options
context:
space:
mode:
authorWaldo Bastian <waldo.bastian@intel.com>2008-02-04 18:46:07 -0800
committerWaldo Bastian <waldo.bastian@intel.com>2008-02-04 18:46:07 -0800
commit28992c714e71a8a91c6a896ce94651a600222b56 (patch)
tree8ac83e10cd2c8d4e35bc77a69d66a32f93dfbadc /src/va.c
parente6a8c6232859a359a5ab35979c7972d26f0957a4 (diff)
* Add additional error code
* VC1: reference_distance can have values of 0 - 16 inclusive and needs 5 bits
Diffstat (limited to 'src/va.c')
-rw-r--r--src/va.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/va.c b/src/va.c
index 5c824c5..57727d0 100644
--- a/src/va.c
+++ b/src/va.c
@@ -387,6 +387,10 @@ const char *vaErrorStr(VAStatus error_status)
return "the requested RT Format is not supported";
case VA_STATUS_ERROR_UNSUPPORTED_BUFFERTYPE:
return "the requested VABufferType is not supported";
+ case VA_STATUS_ERROR_SURFACE_BUSY:
+ return "surface is in use";
+ case VA_STATUS_ERROR_FLAG_NOT_SUPPORTED:
+ return "flag not supported";
case VA_STATUS_ERROR_UNKNOWN:
return "unknown libva error";
}