[Libva] [PATCH] Add VA_STATUS_ERROR_UNIMPLEMENTED

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Wed Aug 26 09:13:02 PDT 2009


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.

Thanks,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 118_add_VA_STATUS_ERROR_UNIMPLEMENTED.patch
Type: text/x-diff
Size: 713 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/libva/attachments/20090826/9f88ff8e/attachment.patch 


More information about the Libva mailing list