From 79c3709a2161e916c1ae7e13ca29cea5f0d9cd53 Mon Sep 17 00:00:00 2001 From: Pengxin Yuan Date: Mon, 27 Nov 2023 17:59:36 +0800 Subject: [PATCH] Add explaination of decoding error status for vaSyncSurfac this will indicate APP behavior when meet VA_STATUS_ERROR_DECODING_ERROR from vaSyncSurface Signed-off-by: Pengxin Yuan --- va/va.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/va/va.h b/va/va.h index d3a88616e..e12c73d39 100644 --- a/va/va.h +++ b/va/va.h @@ -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,