From fc32cf6fafb6cc67a5ed92b5214d051a8600c6ec Mon Sep 17 00:00:00 2001 From: zhangwenting3652 Date: Tue, 1 Jul 2025 14:45:13 +0800 Subject: [PATCH] Add AVTranscoder OnError errorCode. Signed-off-by: zhangwenting3652 --- multimedia/player_framework/avtranscoder_base.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multimedia/player_framework/avtranscoder_base.h b/multimedia/player_framework/avtranscoder_base.h index 5334a697e34..71d83dd9fed 100644 --- a/multimedia/player_framework/avtranscoder_base.h +++ b/multimedia/player_framework/avtranscoder_base.h @@ -87,10 +87,12 @@ typedef void (*OH_AVTranscoder_OnStateChange)(OH_AVTranscoder *transcoder, OH_AV * @brief Called when an error occurred during transcoding * @param {OH_AVTranscoder*} transcoder Pointer to an OH_AVTranscoder instance. * @param {int32_t} errorCode Error code. - * {@link AV_ERR_NO_MEMORY} if memery is insufficient. + * {@link AV_ERR_NO_MEMORY} if memory is insufficient. * {@link AV_ERR_IO} if IO access failed. - * {@link AV_ERR_INVALID_STATE} if The current state does not support this operation. + * {@link AV_ERR_INVALID_STATE} if the current state does not support this operation. * {@link AV_ERR_UNSUPPORT} if unsurpport function. + * {@link AV_ERR_INVALID_VAL} if the parameter check failed. + * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * @param {const char*} errorMsg Error message. * @param {void*} userData Pointer to user specific data. * @since 20 -- Gitee