From aee130812425e3ffd8697a6cd64cc2f3044cf0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 07:52:27 +0000 Subject: [PATCH 01/10] =?UTF-8?q?ndk=E9=94=99=E8=AF=AF=E7=A0=81=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/media_foundation/native_averrors.h | 5 +++++ multimedia/player_framework/avimage_generator.h | 5 ++++- multimedia/player_framework/avmetadata_extractor.h | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/multimedia/media_foundation/native_averrors.h b/multimedia/media_foundation/native_averrors.h index 80cf8d292..98bb4fabb 100644 --- a/multimedia/media_foundation/native_averrors.h +++ b/multimedia/media_foundation/native_averrors.h @@ -94,6 +94,11 @@ typedef enum OH_AVErrCode { * @since 12 */ AV_ERR_INPUT_DATA_ERROR = 10, + /** + * @error unsupported format. + * @since 16 + */ + AV_ERR_UNSUPPORT_FORMAT = 11, /** * @error extend err start. */ diff --git a/multimedia/player_framework/avimage_generator.h b/multimedia/player_framework/avimage_generator.h index 0ae5a5b28..c008d3ca3 100644 --- a/multimedia/player_framework/avimage_generator.h +++ b/multimedia/player_framework/avimage_generator.h @@ -78,6 +78,8 @@ OH_AVImageGenerator* OH_AVImageGenerator_Create(void); * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. + * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. + * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, @@ -98,6 +100,8 @@ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. + * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_FetchFrameByTime(OH_AVImageGenerator* generator, @@ -111,7 +115,6 @@ OH_AVErrCode OH_AVImageGenerator_FetchFrameByTime(OH_AVImageGenerator* generator * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. - * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_Release(OH_AVImageGenerator* generator); diff --git a/multimedia/player_framework/avmetadata_extractor.h b/multimedia/player_framework/avmetadata_extractor.h index b6d5bba33..cb27b00ee 100644 --- a/multimedia/player_framework/avmetadata_extractor.h +++ b/multimedia/player_framework/avmetadata_extractor.h @@ -80,6 +80,8 @@ OH_AVMetadataExtractor* OH_AVMetadataExtractor_Create(void); * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. + * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. + * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extractor, @@ -96,6 +98,8 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. + * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extractor, OH_AVFormat* avMetadata); @@ -111,6 +115,8 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extrac * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. + * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchAlbumCover(OH_AVMetadataExtractor* extractor, OH_PixelmapNative** pixelMap); @@ -123,7 +129,6 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchAlbumCover(OH_AVMetadataExtractor* extr * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. - * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_Release(OH_AVMetadataExtractor* extractor); -- Gitee From bc32e7195f536aee8902368fb70061f3419bb7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 08:00:53 +0000 Subject: [PATCH 02/10] update multimedia/player_framework/avimage_generator.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avimage_generator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/player_framework/avimage_generator.h b/multimedia/player_framework/avimage_generator.h index c008d3ca3..ac57809ff 100644 --- a/multimedia/player_framework/avimage_generator.h +++ b/multimedia/player_framework/avimage_generator.h @@ -79,7 +79,7 @@ OH_AVImageGenerator* OH_AVImageGenerator_Create(void); * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, @@ -101,7 +101,7 @@ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_FetchFrameByTime(OH_AVImageGenerator* generator, -- Gitee From 11ff41524b152fc489649f8de01a27b23f2c0502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 08:03:40 +0000 Subject: [PATCH 03/10] update multimedia/player_framework/avmetadata_extractor.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avmetadata_extractor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/player_framework/avmetadata_extractor.h b/multimedia/player_framework/avmetadata_extractor.h index cb27b00ee..13c563122 100644 --- a/multimedia/player_framework/avmetadata_extractor.h +++ b/multimedia/player_framework/avmetadata_extractor.h @@ -81,7 +81,7 @@ OH_AVMetadataExtractor* OH_AVMetadataExtractor_Create(void); * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extractor, @@ -99,7 +99,7 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extractor, OH_AVFormat* avMetadata); @@ -116,7 +116,7 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extrac * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY}, denotes a failure in internal memory allocation. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchAlbumCover(OH_AVMetadataExtractor* extractor, OH_PixelmapNative** pixelMap); -- Gitee From ee4a4bc51ab8bfd49f7416a794ac8d2f82035a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 08:14:16 +0000 Subject: [PATCH 04/10] update multimedia/player_framework/avmetadata_extractor.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avmetadata_extractor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/player_framework/avmetadata_extractor.h b/multimedia/player_framework/avmetadata_extractor.h index 13c563122..243f5e129 100644 --- a/multimedia/player_framework/avmetadata_extractor.h +++ b/multimedia/player_framework/avmetadata_extractor.h @@ -81,7 +81,7 @@ OH_AVMetadataExtractor* OH_AVMetadataExtractor_Create(void); * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extractor, @@ -99,7 +99,7 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extractor, OH_AVFormat* avMetadata); @@ -116,7 +116,7 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extrac * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_FetchAlbumCover(OH_AVMetadataExtractor* extractor, OH_PixelmapNative** pixelMap); -- Gitee From df728ff1b06a36c354c2c4881d361ebc4388dffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 08:14:59 +0000 Subject: [PATCH 05/10] update multimedia/player_framework/avimage_generator.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avimage_generator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/player_framework/avimage_generator.h b/multimedia/player_framework/avimage_generator.h index ac57809ff..680c35af2 100644 --- a/multimedia/player_framework/avimage_generator.h +++ b/multimedia/player_framework/avimage_generator.h @@ -79,7 +79,7 @@ OH_AVImageGenerator* OH_AVImageGenerator_Create(void); * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, @@ -101,7 +101,7 @@ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. + * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_FetchFrameByTime(OH_AVImageGenerator* generator, -- Gitee From ac61696f6239bece63db5a5d109aba153f8593e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 09:20:31 +0000 Subject: [PATCH 06/10] update multimedia/media_foundation/native_averrors.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/media_foundation/native_averrors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/media_foundation/native_averrors.h b/multimedia/media_foundation/native_averrors.h index 98bb4fabb..2fedd0834 100644 --- a/multimedia/media_foundation/native_averrors.h +++ b/multimedia/media_foundation/native_averrors.h @@ -98,7 +98,7 @@ typedef enum OH_AVErrCode { * @error unsupported format. * @since 16 */ - AV_ERR_UNSUPPORT_FORMAT = 11, + AV_ERR_UNSUPPORTED_FORMAT = 11, /** * @error extend err start. */ -- Gitee From a52845233015de8d11905985fa8750555ba965c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 09:22:16 +0000 Subject: [PATCH 07/10] update multimedia/player_framework/avimage_generator.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avimage_generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/player_framework/avimage_generator.h b/multimedia/player_framework/avimage_generator.h index 680c35af2..1cbf46bcf 100644 --- a/multimedia/player_framework/avimage_generator.h +++ b/multimedia/player_framework/avimage_generator.h @@ -100,7 +100,7 @@ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ -- Gitee From 645e4610a8ff10731d2351f3772e777e680d88e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Sat, 22 Feb 2025 09:23:18 +0000 Subject: [PATCH 08/10] update multimedia/player_framework/avmetadata_extractor.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avmetadata_extractor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/player_framework/avmetadata_extractor.h b/multimedia/player_framework/avmetadata_extractor.h index 243f5e129..38f70846c 100644 --- a/multimedia/player_framework/avmetadata_extractor.h +++ b/multimedia/player_framework/avmetadata_extractor.h @@ -98,7 +98,7 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ @@ -115,7 +115,7 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extrac * {@link AV_ERR_OK} if the execution is successful. * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. - * {@link AV_ERR_UNSUPPORT_FORMAT} if format is unsupported. + * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 */ -- Gitee From b726fc4a9cf2c9cb7a5ca0c27dc37f1fbcab5918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Mon, 24 Feb 2025 08:34:38 +0000 Subject: [PATCH 09/10] update multimedia/player_framework/avimage_generator.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avimage_generator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/player_framework/avimage_generator.h b/multimedia/player_framework/avimage_generator.h index 1cbf46bcf..261202db7 100644 --- a/multimedia/player_framework/avimage_generator.h +++ b/multimedia/player_framework/avimage_generator.h @@ -77,7 +77,7 @@ OH_AVImageGenerator* OH_AVImageGenerator_Create(void); * @param size Indicates the size of media source. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 @@ -98,7 +98,7 @@ OH_AVErrCode OH_AVImageGenerator_SetFDSource(OH_AVImageGenerator* generator, * @param pixelMap The fetched output image from the video source. For details, see {@link OH_PixelmapNative}. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input generator is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. @@ -114,7 +114,7 @@ OH_AVErrCode OH_AVImageGenerator_FetchFrameByTime(OH_AVImageGenerator* generator * @param generator Pointer to an OH_AVImageGenerator instance. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input generator is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input generator is nullptr or input param is invalid. * @since 16 */ OH_AVErrCode OH_AVImageGenerator_Release(OH_AVImageGenerator* generator); -- Gitee From 16566870e5c082723d8e265c1cc9b9c9a135ee8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=90=8C=E8=BE=89?= Date: Mon, 24 Feb 2025 08:35:06 +0000 Subject: [PATCH 10/10] update multimedia/player_framework/avmetadata_extractor.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 彭同辉 --- multimedia/player_framework/avmetadata_extractor.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multimedia/player_framework/avmetadata_extractor.h b/multimedia/player_framework/avmetadata_extractor.h index 38f70846c..cb54f5c89 100644 --- a/multimedia/player_framework/avmetadata_extractor.h +++ b/multimedia/player_framework/avmetadata_extractor.h @@ -79,7 +79,7 @@ OH_AVMetadataExtractor* OH_AVMetadataExtractor_Create(void); * @param size Indicates the size of media source. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. * @since 16 @@ -96,7 +96,7 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto * @param avMetadata Pointer to an {@link OH_AVFormat} instance, its content contains the fetched metadata info. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. @@ -113,7 +113,7 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extrac * @param pixelMap The fetched album cover from the audio source. For details, see {@link OH_PixelmapNative}. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input extractor is nullptr or input param is invalid. * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. @@ -128,7 +128,7 @@ OH_AVErrCode OH_AVMetadataExtractor_FetchAlbumCover(OH_AVMetadataExtractor* extr * @param extractor Pointer to an OH_AVMetadataExtractor instance. * @return Function result code. * {@link AV_ERR_OK} if the execution is successful. - * {@link AV_ERR_INPUT_DATA_ERROR} if input extractor is nullptr or input param is invalid. + * {@link AV_ERR_INVALID_VAL} if input extractor is nullptr or input param is invalid. * @since 16 */ OH_AVErrCode OH_AVMetadataExtractor_Release(OH_AVMetadataExtractor* extractor); -- Gitee