media/library
claincly 77cc25242b Report flushing completed after all pending frames are decoded.
With the current ExtTexMgr,

it can happen that

- `x` frames are registered, but haven't arrived yet
- flush
  - need to drop `x` frames when they arrive on SurfaceTexture
  - status is reset to 0 pending, 0 available, drop `x` when frames arrive
- register one frame
  - status is set to 1 pending, 0 available, drop `x` when frames arrive
- flush
  - now the number of frame to drop is reset to `pending - available = 1`
  - but it should be `x+1`

This CL solves the issue by reporting (by running the afterFlushTask) flush completes only after all the pending frames before calling flush are accounted for.

PiperOrigin-RevId: 506310671
2023-02-02 16:09:29 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Support flushing in FrameProcessor 2023-02-02 15:56:55 +00:00
core Support flushing in FrameProcessor 2023-02-02 15:56:55 +00:00
dash Merge pull request #10793 from fraunhoferfokus:dash-thumbnail-support 2023-02-01 15:32:27 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Deprecate C.POSITION_UNSET in favour of C.INDEX_UNSET 2022-12-12 12:24:50 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Report flushing completed after all pending frames are decoded. 2023-02-02 16:09:29 +00:00
extractor Fix timestamp comparison for seeks in fMP4 2023-02-01 14:20:57 +00:00
hls Refactor transformation completion 2022-11-21 14:27:00 +00:00
rtsp Add javadoc links to README files 2022-12-12 13:07:19 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
transformer Clarify case where HDR encoder and muxer have no shared mime type. 2023-02-02 16:05:21 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 14:03:50 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.