Navigation
API > API/Plugins > API/Plugins/ElectraDecoders > API/Plugins/ElectraDecoders/IElectraDecoder
References
| Module | ElectraDecoders |
| Header | /Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Public/IElectraDecoder.h |
| Include | #include "IElectraDecoder.h" |
EDecoderError Flush()
Remarks
Flushes the decoder to discard any pending input. No output will be generated. New data can be provided to the decoder immediately.
The return value indicates the following:
- None : No error, the call was successful.
- EndOfData : This value is not returned by this method.
- NoBuffer : This value is not returned by this method.
- Error : An error has occurred. Get the details by calling GetError(). The decoder will need to be destroyed and recreated.