Flush
Function Usage
Flushes all the current decoding buffers. Generally, this API is invoked when the progress bar is dragged.
Prototype
DecoderRetCode Flush()
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.
Parent topic: Decoding APIs (C and C++)