media/libraries/exoplayer/src/main
christosts 706431059c 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
2023-02-10 13:44:34 +00:00
..
java/androidx/media3/exoplayer AsynchronousMediaCodecAdapter: surface queueing errors sooner 2023-02-10 13:44:34 +00:00
javadoc/androidx/media3/exoplayer/doc-files Fix location of common module doc-files 2022-01-05 10:35:40 +00:00
res Update to androidx.media3 2021-10-27 09:12:46 +01:00
AndroidManifest.xml Update to androidx.media3 2021-10-27 09:12:46 +01:00