media/library
tonihei de78cfa362 Clear pending doSomeWork messages when sleeping for offload
The offload sleeping stops as soon as a new DO_SOME_WORK message
is handled (because this indicates an expected change in rendering
and we want to stop sleeping until we know it's safe to do so).

Every exit path from doSomeWork needs to clear other pending
DO_SOME_WORK messages as these requests have already been handled by
the current method invocation. This currently doesn't happen from the
offload sleeping return path and a previously queued DO_SOME_WORK
message can immediately wake up the rendering loop again.

Fix this by moving the message removal to the beginning of the
doSomeWork method (as it prevents forgetting it in one of the
exit paths later).

PiperOrigin-RevId: 456259715
(cherry picked from commit 251389d744)
2022-06-21 15:58:04 +01:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Misc improvement in Util 2022-06-16 14:39:46 +00:00
core Clear pending doSomeWork messages when sleeping for offload 2022-06-21 15:58:04 +01:00
dash Rollback of e705999cf3 2022-05-23 17:12:22 +01:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Disable transcoding when reading content URIs 2022-05-06 15:54:21 +01:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
extractor Fix parsing H265 short term reference picture sets 2022-06-20 16:46:15 +01:00
hls Fix bug: playback is frozen with HLS chunkless preparation 2022-06-09 18:08:16 +00:00
rtsp Merge pull request #63 from ittiam-systems:rtp-h263 2022-06-16 11:41:28 +00:00
smoothstreaming Rollback of e705999cf3 2022-05-23 17:12:22 +01:00
transformer Skip BitrateAnalysisTest if device is incapable. 2022-05-30 17:57:29 +00:00
ui Add lint base xml file for string.xml files 2022-06-16 13:04:42 +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.