hardware/intel/libva
Revisión | 34b102240aaf71e0e3d09977bf4ca68c0bf2d03a (tree) |
---|---|
Tiempo | 2013-06-19 16:17:28 |
Autor | Gwenole Beauchesne <gwenole.beauchesne@inte...> |
Commiter | Xiang, Haihao |
va: fix vaErrorStr() to support new error codes.
(cherry picked from commit 7b5c35273dc0e8e0e86cf40cf2a398119a766397)
@@ -425,6 +425,12 @@ const char *vaErrorStr(VAStatus error_status) | ||
425 | 425 | return "surface is in displaying (may by overlay)" ; |
426 | 426 | case VA_STATUS_ERROR_INVALID_IMAGE_FORMAT: |
427 | 427 | return "invalid VAImageFormat"; |
428 | + case VA_STATUS_ERROR_INVALID_VALUE: | |
429 | + return "an invalid/unsupported value was supplied"; | |
430 | + case VA_STATUS_ERROR_UNSUPPORTED_FILTER: | |
431 | + return "the requested filter is not supported"; | |
432 | + case VA_STATUS_ERROR_INVALID_FILTER_CHAIN: | |
433 | + return "an invalid filter chain was supplied"; | |
428 | 434 | case VA_STATUS_ERROR_UNKNOWN: |
429 | 435 | return "unknown libva error"; |
430 | 436 | } |