Commit 4916645f authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

Fix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT.

parent 849d20db
...@@ -319,6 +319,8 @@ const char *vaErrorStr(VAStatus error_status) ...@@ -319,6 +319,8 @@ const char *vaErrorStr(VAStatus error_status)
return "the requested function is not implemented"; return "the requested function is not implemented";
case VA_STATUS_ERROR_SURFACE_IN_DISPLAYING: case VA_STATUS_ERROR_SURFACE_IN_DISPLAYING:
return "surface is in displaying (may by overlay)" ; return "surface is in displaying (may by overlay)" ;
case VA_STATUS_ERROR_INVALID_IMAGE_FORMAT:
return "invalid VAImageFormat";
case VA_STATUS_ERROR_UNKNOWN: case VA_STATUS_ERROR_UNKNOWN:
return "unknown libva error"; return "unknown libva error";
} }
......
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