Navigation
Unreal Engine C++ API Reference > Plugins > ElectraDecoders > IElectraDecoder
References
Module | ElectraDecoders |
Header | /Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Public/IElectraDecoder.h |
Include | #include "IElectraDecoder.h" |
TSharedPtr < IElectraDecoderOutput , ESPMode::ThreadSafe > GetOutput()
Remarks
Returns the next pending output. This call should be preceded by a call to HaveOutput() to check if output is available. Calling without checking first will return a nullptr when no output is available.
NOTE: Ownership of the decoded output stays with the decoder. You may hold on to the returned pointer but it is recommended the output is processed immediately. If the output is not returned to the decoder (by resetting the pointer) it may be possible for the decoder to be unable to produce additional output.