media/libraries
christosts 3696076f0f AsynchronousMediaCodecAdapter: surface queueing errors sooner
The AsynchronousMediaCodecAdapter's queuing thread stores any exceptions
raised by MediaCodec and re-throws them on the next call to
queueInputBuffer()/queueSecureInputBuffer(). However, if MediaCodec
raises and error while queueing, it goes into a failed state and does
not announce available input buffers. If there is no input available
input buffer, the MediaCodecRenderer will never call
queueInputBuffer()/queueSecureInputBuffer(), hence playback is stalled.

This change surfaces the queueing error through the adapter's dequeueing
methods.

PiperOrigin-RevId: 508637346
(cherry picked from commit 706431059c)
2023-02-28 17:55:45 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2023-01-25 18:17:15 +00:00
common Document spatialization behavior constants. 2023-02-28 17:55:44 +00:00
database Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource Merge pull request #10959 from balachandarlinks:handle-sql-exception-in-cached-content-index 2023-02-28 17:55:44 +00:00
datasource_cronet Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource_okhttp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource_rtmp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_av1 Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_ffmpeg Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_flac Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_opus Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_vp9 Add javadoc links to README files 2023-01-25 18:01:21 +00:00
effect Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer AsynchronousMediaCodecAdapter: surface queueing errors sooner 2023-02-28 17:55:45 +00:00
exoplayer_dash Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 17:55:44 +00:00
exoplayer_hls Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 17:55:44 +00:00
exoplayer_ima Suppress warnings in ImaUtil 2023-01-26 14:26:00 +00:00
exoplayer_rtsp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_smoothstreaming Merge pull request #248 from lemondoglol:update-segment-size 2023-02-28 17:55:44 +00:00
exoplayer_workmanager Add javadoc links to README files 2023-01-25 18:01:21 +00:00
extractor Fix timestamp comparison for seeks in fMP4 2023-02-02 13:22:33 +00:00
session Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 16:47:10 +00:00
test_data Merge pull request #10793 from fraunhoferfokus:dash-thumbnail-support 2023-02-02 16:47:09 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
test_session_common Do not assume a valid queue in 3rd party sessions 2023-02-02 13:22:38 +00:00
test_session_current Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 16:47:10 +00:00
test_utils Forward seek command details to seekTo method in BasePlayer 2023-01-25 18:17:15 +00:00
test_utils_robolectric Remove debug timeout multiplier. 2023-01-25 18:17:14 +00:00
transformer Add javadoc links to README files 2023-01-25 18:01:21 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-02 13:18:29 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-02 13:22:39 +00:00