media/libraries
ibaker 983d9d57d7 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
(cherry picked from commit 248d1d99ec)
2023-06-14 13:07:39 +01:00
..
cast Implement Player.replaceMediaItem(s) 2023-05-26 13:25:10 +00:00
common Version bump to media3-1.1.0 and exoplayer 2.19.0 2023-06-23 18:11:57 +00:00
container Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Remove two deprecated InvalidResponseCodeException constructors 2023-05-17 16:59:55 +00:00
datasource_cronet Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 1.1.0 release 2023-05-18 18:04:45 +00:00
decoder_flac Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_opus Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_vp9 Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
effect Rollback of a66f08ba97 2023-06-12 09:15:55 +00:00
exoplayer Stop suppressing exceptions in MediaCodec.Callback during flush 2023-06-14 13:07:39 +01:00
exoplayer_dash Do not reset period uid when DashMediaSource is released 2023-06-12 09:15:54 +00:00
exoplayer_hls Throw exception when TimestampAdjuster initialization hits timeout 2023-06-12 09:15:54 +00:00
exoplayer_ima Fix splitting ad playback state for partial ad group when joining 2023-06-12 09:15:54 +00:00
exoplayer_rtsp Use base Uri from the RTSP DESCRIBE response header for relative paths 2023-05-26 13:25:10 +00:00
exoplayer_smoothstreaming Implement logging support for Common Media Client Data (CMCD) 2023-06-12 09:15:54 +00:00
exoplayer_workmanager Remove deprecated WorkManagerScheduler constructor 2023-05-18 16:07:51 +00:00
extractor Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
muxer Enable nullness checker for Muxer module androidTest library 2023-06-12 09:15:53 +00:00
session Notify listeners of error changes when masking in MediaControllerImplBase 2023-06-13 15:46:46 +01:00
test_data Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
test_exoplayer_playback Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
test_session_common Implement Player.replaceMediaItem(s) 2023-05-26 13:25:10 +00:00
test_session_current Notify listeners of error changes when masking in MediaControllerImplBase 2023-06-13 15:46:46 +01:00
test_utils Effect: Add multiple texture output test. 2023-06-12 09:15:52 +00:00
test_utils_robolectric Move MdtaMetadataEntry class into container module 2023-05-26 13:25:07 +00:00
transformer Factor out video decoding and fix two minor issues 2023-06-12 11:05:08 +00:00
ui Fix bug where PlayerView distorts video when video size is unknown 2023-06-19 17:03:25 +01:00
ui_leanback Use Util method for common UI play/pause button logic. 2023-04-26 15:52:50 +01:00