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 70643105)
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cast | Loading commit data... | |
| common | Loading commit data... | |
| database | Loading commit data... | |
| datasource | Loading commit data... | |
| datasource_cronet | Loading commit data... | |
| datasource_okhttp | Loading commit data... | |
| datasource_rtmp | Loading commit data... | |
| decoder | Loading commit data... | |
| decoder_av1 | Loading commit data... | |
| decoder_ffmpeg | Loading commit data... | |
| decoder_flac | Loading commit data... | |
| decoder_opus | Loading commit data... | |
| decoder_vp9 | Loading commit data... | |
| effect | Loading commit data... | |
| exoplayer | Loading commit data... | |
| exoplayer_dash | Loading commit data... | |
| exoplayer_hls | Loading commit data... | |
| exoplayer_ima | Loading commit data... | |
| exoplayer_rtsp | Loading commit data... | |
| exoplayer_smoothstreaming | Loading commit data... | |
| exoplayer_workmanager | Loading commit data... | |
| extractor | Loading commit data... | |
| session | Loading commit data... | |
| test_data | Loading commit data... | |
| test_exoplayer_playback | Loading commit data... | |
| test_session_common | Loading commit data... | |
| test_session_current | Loading commit data... | |
| test_utils | Loading commit data... | |
| test_utils_robolectric | Loading commit data... | |
| transformer | Loading commit data... | |
| ui | Loading commit data... | |
| ui_leanback | Loading commit data... |