[Libva] [PATCH] Add VA_STATUS_ERROR_UNIMPLEMENTED representation

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Wed Sep 2 02:38:41 PDT 2009


Hi,

On Thu, 27 Aug 2009, Yuan, Shengquan wrote:

> On Thu, Aug 27, 2009 at 12:13 AM, Gwenole
> Beauchesne<gbeauchesne at splitted-desktop.com> wrote:
>> Hi,
>>
>> It's generally desirable to know if VA driver failed for a specific function
>> because it indeed failed (VA_STATUS_ERROR_OPERATION_FAILED) or it was not
>> implemented.
>>
>> That way, a program can take appropriate action if a function is not
>> implemented. e.g. use plain vaGetImage() instead of vaDeriveImage(). Or
>> don't issue a fatal error if Subpictures are not implemented yet.
>
> Put into libva master branch.

I am sorry but I had forgotten a hunk, attached hereunder. In particular, 
this is the string representation for VA_STATUS_ERROR_UNIMPLEMENTED 
(vaErrorStr()).

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-VA_STATUS_ERROR_UNIMPLEMENTATION-string-represen.patch
Type: text/x-diff
Size: 863 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/libva/attachments/20090902/72eff507/attachment.patch 


More information about the Libva mailing list