Navigation
API > API/Plugins > API/Plugins/ElectraDecoders > API/Plugins/ElectraDecoders/IElectraDecoder
Description
Sends an end-of-data notification to have the decoder process all pending input and generate as much output as possible. All output must be retrieved by calling HaveOutput() and GetOutput() in sequence. Once all output has been retrieved new data can be provided to the decoder.
The return value indicates the following:
- None : No error, the call was successful.
- EndOfData : This is returned when SendEndOfData() is called more than once while the decoder is already processing the remaining input.
- 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.
| Name | SendEndOfData |
| Type | function |
| Header File | /Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Public/IElectraDecoder.h |
| Include Path | #include "IElectraDecoder.h" |
EDecoderError SendEndOfData()