Fix vaErrorStr() for VA_STATUS_ERROR_INVALID_IMAGE_FORMAT. 27/627/1
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Wed, 9 Jun 2010 07:40:28 +0000 (09:40 +0200)
committerAustin Yuan <shengquan.yuan@gmail.com>
Thu, 8 Jul 2010 02:10:30 +0000 (10:10 +0800)
va/va.c

diff --git a/va/va.c b/va/va.c
index 00a96cf..e143c7b 100644 (file)
--- a/va/va.c
+++ b/va/va.c
@@ -319,6 +319,8 @@ const char *vaErrorStr(VAStatus error_status)
             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_INVALID_IMAGE_FORMAT:
+            return "invalid VAImageFormat";
         case VA_STATUS_ERROR_UNKNOWN:
             return "unknown libva error";
     }