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

Flush

Function Usage

Flushes all the current decoding buffers. Generally, this API is invoked when the progress bar is dragged.

Restrictions

N/A

Prototype

DecoderRetCode Flush()

Parameter Description

N/A

Return Value Description

Data type: DecoderRetCode

The value can be any of the following:

  • VIDEO_DECODER_SUCCESS: The decoding buffer status is successfully reset.
  • VIDEO_DECODER_RESET_FAIL: Failed to reset the decoding buffer status.