V4L2Decoder: streamon the output queue at flush when it's streaming

Originally we always streamon the output queue after flush is done.
However the output queue might not be streaming before flush. In this
case we don't need to streamon the output queue.

Bug: 170199771
Test: android.media.cts.AdaptivePlaybackTest

Change-Id: I94f76a5737b7f6536acc169876cf0f7e9060d5bb
1 file changed
tree: d1b39e996ced977a49622ba69857237596bc5144
  1. common/
  2. components/
  3. plugin_store/
  4. service/
  5. tests/
  6. .clang-format
  7. Android.bp
  8. METADATA
  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 components.

  • components/ The C2Component implementations based on V4L2 API, and the implementation of C2ComponentStore for creating all the C2Components.

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