media/library
claincly 92ceeda5b8 Add FrameProcessor functionality to release a frame immediately
Currently `FrameProcessor.releaseOutputFrame()` method supports

Release at a specific system time
Drops the frame
This API is not that convenient to use when the caller wants to release a frame, now, regardless of the release time. A use case is to release (present) a frame when no frame is shown for a while, and it's thus better to just release the frame, now.

Currently if MCVR wants a frame to be rendered now, MCVR calls release frame with a set offset like 10us: `releaseOutputFrame(System.nanoTime() + 10_000)`. The 10us offset is to prevent the frame processor dropping the frame, due to thread hopping delays.

To make the API better usable, consider adding a mode for releasing the frame now, like (bold marks the new mode)

- Use C.TIME_UNSET to drop
- **Use -1 to release the frame immediately, or**
- Use an actual release time.

PiperOrigin-RevId: 479044215
(cherry picked from commit ff8dd0b4b9)
2022-10-05 14:45:27 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Add FrameProcessor functionality to release a frame immediately 2022-10-05 14:45:27 +00:00
core Fix badly formatted AudioProcessor javadoc. 2022-09-26 16:00:10 +00:00
dash Fix 3 ErrorProneStyle findings: 2022-08-31 08:29:19 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
extractor Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
rtsp Fix outdated RtpDataLoadable javadoc 2022-08-23 13:41:49 +00:00
smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
transformer HDR: Check isToneMappingApplied in HDR editing test. 2022-10-04 13:01:27 +00:00
ui Use the current overrides of the player as preset 2022-07-18 10:36:01 +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.