media/libraries
ibaker 248d1d99ec Stop suppressing exceptions in MediaCodec.Callback during flush
Previously `AsynchronousMediaCodecCallback.mediaCodecException` was
cleared when flushing completed. This behaviour was changed in
aeff51c507
so now the exception is not cleared.

The result after that commit was that we would **only** suppress/ignore
the expression if a flush was currently pending, and we would throw it
both before and after the flush. This doesn't really make sense, so this
commit changes the behaviour to also throw the exception during the
flush.

This commit also corrects the assertion in
`flush_withPendingError_resetsError` and deflakes it so that it
consistently passes. The previous version of this test, although the
assertion was incorrect, would often pass because the
`dequeueInputBuffer` call would happen while the `flush` was still
pending, so the exception was suppressed.

#minor-release

PiperOrigin-RevId: 540237228
2023-06-14 20:41:10 +01:00
..
cast Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
common Version bump to media3:1.1.0-rc01 2023-06-12 14:14:33 +00:00
container Add support for passing custom metadata via transformer 2023-06-09 13:51:15 +00:00
database Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_cronet Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_av1 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_ffmpeg Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_flac Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_midi Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_opus Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_vp9 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
effect Add a blank line to break long paragraph 2023-06-14 20:38:24 +01:00
exoplayer Stop suppressing exceptions in MediaCodec.Callback during flush 2023-06-14 20:41:10 +01:00
exoplayer_dash Do not reset period uid when DashMediaSource is released 2023-06-09 14:03:22 +00:00
exoplayer_hls Throw exception when TimestampAdjuster initialization hits timeout 2023-06-10 20:25:05 +00:00
exoplayer_ima Fix splitting ad playback state for partial ad group when joining 2023-06-10 20:23:56 +00:00
exoplayer_rtsp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
exoplayer_smoothstreaming Implement logging support for Common Media Client Data (CMCD) 2023-06-09 14:01:25 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Require the list returned by SubtitleParser to be sorted by timestamp 2023-06-10 20:21:29 +00:00
muxer Enable nullness checker for Muxer module androidTest library 2023-06-08 12:48:03 +00:00
session Notify listeners of error changes when masking in MediaControllerImplBase 2023-06-14 20:32:55 +01:00
test_data Add test for per-MediaItem effect 2023-06-14 20:27:37 +01:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Rollback of 2a6f893fba 2023-06-06 18:06:46 +00:00
test_session_current Notify listeners of error changes when masking in MediaControllerImplBase 2023-06-14 20:32:55 +01:00
test_utils Suppress warnings in preparation for Checker Framework version 3.34.0-eisop1 2023-06-14 20:29:07 +01:00
test_utils_robolectric Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
transformer Add test for per-MediaItem effect 2023-06-14 20:27:37 +01:00
ui Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
ui_leanback Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00