Skip to content

Commit

Permalink
Add explaination of decoding error status for vaSyncSurfac
Browse files Browse the repository at this point in the history
this will indicate APP behavior when meet VA_STATUS_ERROR_DECODING_ERROR from vaSyncSurface

Signed-off-by: Pengxin Yuan <[email protected]>
  • Loading branch information
pengxin99 committed Nov 27, 2023
1 parent 0931342 commit 79c3709
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -4187,6 +4187,12 @@ Synchronization
* This function blocks until all pending operations on the render target
* have been completed. Upon return it is safe to use the render target for a
* different picture.
*
* Possible errors:
* - \ref VA_STATUS_ERROR_DECODING_ERROR: This error is triggered when the driver
* encounters Macroblock (MB) errors or non-conformance input clips during the decoding process.
* Application can proceed with the subsequent frames, it is advised that the application
* be aware of potential corruption in the output.
*/
VAStatus vaSyncSurface(
VADisplay dpy,
Expand Down

0 comments on commit 79c3709

Please sign in to comment.