intel / libva

Libva is an implementation for VA-API (Video Acceleration API)
http://intel.github.io/libva/
Other
665 stars 303 forks source link

Add new error code to indicate the reset happended in the driver. #714

Closed pengxin99 closed 1 year ago

pengxin99 commented 1 year ago

Use VA_STATUS_ERROR_RESET to indeicate media reset/engine reset have happended in the driver, user can use vaQuerySurfaceError() to get the detail info to do some customized work.

pengxin99 commented 1 year ago

Hi, @XinfengZhang @Jexu, could you pls help to review this PR?