Improvements/fixes to ACodec.

- Make sure ACodec reverts its state when it's shutdown
- Defer "resume" to after handling the OutputPortSettingsChange

- If the OMX_EventPortSettingsChanged event comes in while we're flushing, defer it
  and make sure the output port can be disabled by deleting all buffers not already
  owned by the component.

Change-Id: I1f8cdffa71237b57d4275a48b834647a7b263e8b
2 files changed
tree: 6dc30007e1292cb2516bc7ce010be6fe12ef5922
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/