Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch (state) {
- case EGSPElementaryEndpointStates::Decoding: {
- result = m_DecoderSM->SetState(EGSPDecoderStates::Decoding);
- if (result.IsError()) {
- return result;
- }
- auto encoded_data = m_OutputQueue->GetAllData();
- for (vbl::baseuint i = 0; i < encoded_data.Length(); ++i) {
- result = m_DecoderSM->Process(encoded_data[i]);
- if (result.IsError()) {
- return (result);
- }
- }
- m_DecoderSM->FlushDecoder();
- result = SetOutputDefinition(m_DecodedDefinition);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement