Flush

Function Usage

Function used to obtain the cache data and clear the cache queue after all streams are sent. After its call is complete, the decoding process ends.

The video decoding is implemented in asynchronous mode internally, so reserve a period of time for the callback function to obtain and process cached data after calling this API.

Prototype

1
APP_ERROR VideoDecoder::Flush();

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.