我要评分
获取效率
正确性
完整性
易理解

DestroyEncoder

Function Usage

Destroys the encoder and releases encoding resources.

Prototype

EncoderRetCode DestoryEncoder(int32_t fd)

Parameter Description

Parameter

Input/Output

Type

Description

fd

Input

int32_t

Encoder descriptor.

Return Value Description

Data type: EncoderRetCode

The value can be any of the following:

  • VIDEO_ENCODER_SUCCESS: The encoder is successfully stopped.
  • VIDEO_ENCODER_DESTROY_FAIL: Failed to destroy the encoder.