OSDN Git Service

va: add new VA STATUS ERROR
[android-x86/hardware-intel-common-libva.git] / va / va.c
diff --git a/va/va.c b/va/va.c
index 6e47c38..4f074f1 100644 (file)
--- a/va/va.c
+++ b/va/va.c
@@ -594,6 +594,8 @@ const char *vaErrorStr(VAStatus error_status)
             return "HW busy now";
         case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE:
             return "an unsupported memory type was supplied";
+        case VA_STATUS_ERROR_NOT_ENOUGH_BUFFER:
+            return "allocated memory size is not enough for input or output";
         case VA_STATUS_ERROR_UNKNOWN:
             return "unknown libva error";
     }