Skip to content

Commit 36407ae

Browse files
committed
Add description of decoding error status for vaSyncSurface()
this will indicate APP behavior when meet VA_STATUS_ERROR_DECODING_ERROR from vaSyncSurface Signed-off-by: Pengxin Yuan <pengxin.yuan@intel.com>
1 parent 0931342 commit 36407ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

va/va.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4187,6 +4187,12 @@ Synchronization
41874187
* This function blocks until all pending operations on the render target
41884188
* have been completed. Upon return it is safe to use the render target for a
41894189
* different picture.
4190+
*
4191+
* Possible errors:
4192+
* - \ref VA_STATUS_ERROR_DECODING_ERROR: This error is triggered when encountering
4193+
* Macroblock (MB) errors with non-conformance input clips during the decoding process.
4194+
* Application can proceed with the subsequent frames, it is advised that the application
4195+
* be aware of potential corruption in the output.
41904196
*/
41914197
VAStatus vaSyncSurface(
41924198
VADisplay dpy,

0 commit comments

Comments
 (0)