Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ab46367f authored by Brijesh Patel's avatar Brijesh Patel Committed by Wonsik Kim
Browse files

codec2: Avoid sending input done event for incomplete work

- In cases where single input buffer can produce multiple
  outputs, any work done event triggers input done event in
  surface mode and does not wait for input buffer done event
  from component. This can make producer to overwrite graphic
  buffer that is still being processesed by codec leading to
  corruption in output.
- Added check to not send input done event to surface if output
  buffer flag is set to FLAG_INCOMPLETE

Bug: 174725323
Test: cts/media/device-small
Change-Id: I1164bf5c61e3fce346e51a57620ee68914a517ec
parent de7ebba5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment