已合并
元数据接口注释修改 #4676
liuwanlin9358创建于 2月28日
元数据接口注释修改 #4676
已合并
共 1 个文件变更+1-15
| @@ -240,23 +240,9 @@ OH_AVErrCode OH_AVMetadataExtractor_SetFDSource(OH_AVMetadataExtractor* extracto | |||
| 240 | * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. | 240 | * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. |
| 241 | * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. | 241 | * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. |
| 242 | * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. | 242 | * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. |
| 243 | + * {@link AV_ERR_IO_CLEARTEXT_NOT_PERMITTED} if http cleartext traffic is not permitted. Add since api 23. | ||
| 243 | * @since 18 | 244 | * @since 18 |
| 244 | */ | 245 | */ |
| 245 | - /** | ||
| 246 | - * @brief Extract metadata info from the media source. | ||
| 247 | - * This function must be called after source set. | ||
| 248 | - * | ||
| 249 | - * @param extractor Pointer to an OH_AVMetadataExtractor instance. | ||
| 250 | - * @param avMetadata Pointer to an {@link OH_AVFormat} instance, its content contains the fetched metadata info. | ||
| 251 | - * @return Function result code. | ||
| 252 | - * {@link AV_ERR_OK} if the execution is successful. | ||
| 253 | - * {@link AV_ERR_INVALID_VAL} if input extractor is nullptr or input param is invalid. | ||
| 254 | - * {@link AV_ERR_OPERATE_NOT_PERMIT} if operation not allowed. | ||
| 255 | - * {@link AV_ERR_UNSUPPORTED_FORMAT} if format is unsupported. | ||
| 256 | - * {@link AV_ERR_NO_MEMORY} if internal memory allocation failed. | ||
| 257 | - * {@link AV_ERR_IO_CLEARTEXT_NOT_PERMITTED} if http cleartext traffic is not permitted. | ||
| 258 | - * @since 23 | ||
| 259 | - */ | ||
| 260 | OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extractor, OH_AVFormat* avMetadata); | 246 | OH_AVErrCode OH_AVMetadataExtractor_FetchMetadata(OH_AVMetadataExtractor* extractor, OH_AVFormat* avMetadata); |
| 261 | 247 | ||
| 262 | /** | 248 | /** |