V4L2Decoder: do not stop fetching output buffers on drain or flush

Originally we stop fetching output buffers when drain or flush is
finished, and resume fetching when getting resolution change event.
But the V4L2 driver might not send the event after drain or flush.

This CL changes not to stop fetching output buffers after drain or
flush.

Bug: 168557465
Test: Pass android.media.cts.AdaptivePlaybackTest#testVP8_eosFlushSeek
      with related CLs

Change-Id: I389b85c1718ae82933329a10fe09ca6abbb57f5d
1 file changed
tree: f1d820d63c283de3ee052f05c3ac26e7fb01c8dc
  1. accel/
  2. common/
  3. components/
  4. plugin_store/
  5. service/
  6. store/
  7. tests/
  8. .clang-format
  9. MODULE_LICENSE_BSD
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. README.md
README.md

V4L2-based Codec2 Component Implementation

Description of Sub-folders

  • accel/ Core V4L2 API and codec utilities, ported from Chromium project.

  • common/ Common helper classes for both components/ and store/.

  • components/ The C2Component implementations based on V4L2 API.

  • store/ The implementation of C2ComponentStore. It is used for creating all the C2Components implemented at components/ folder.

  • service/ The Codec2's V4L2 IComponentStore service. The service initiates the component store implemented at store/ folder, and registers it as the default service.