media/libraries
tonihei 34792f7b11 Fix flakiness in ExoPlayerTest
The two affected tests where playing until a specific
position to enable the player to read ahead. The method
pauses at exactly the target position, but then has
temporarily undetermined behavior because the playback
thread uses player.getClock().onThreadBlocked() that lets
the playback thread make progress in parallel to the test
thread. The tests were flaky because they sometimes made
so much progress that they ended playback before we could
query the updated renderer state.

This can be fixed by using
run(player).untilBackgroundThreadCondition instead, which
is guaranteed to be fully deterministic, but may not be able
to stop at exactly the desired position (which we don't
really need anyway for this test).

PiperOrigin-RevId: 634699752
2024-05-17 03:34:04 -07:00
..
cast Forward presumed no-op seeks to handler methods in (Simple)BasePlayer 2024-04-15 02:38:29 -07:00
common Check for .heif extension in File types inference 2024-05-16 08:42:14 -07:00
container Add Mp4OrientationData class 2024-03-11 06:45:15 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
datasource_cronet Fix SocketTimeoutException in CronetDataSource. 2024-04-23 07:21:20 -07:00
datasource_okhttp Use Guava's toByteArray & fromByteArray methods where possible 2024-03-08 03:27:29 -08:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Don't enforce SimpleDecoder skipping for samples before start time 2024-05-01 06:42:36 -07:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_midi Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
decoder_opus Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_vp9 Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
effect Add debug trace log for AssetLoader Renderer format events. 2024-05-16 11:32:13 -07:00
exoplayer Fix flakiness in ExoPlayerTest 2024-05-17 03:34:04 -07:00
exoplayer_dash Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_hls Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_ima Bump IMA dependency to 3.33.0 to fix NPE with data:// URIs 2024-05-09 06:59:53 -07:00
exoplayer_rtsp Remove /* package */ comment from public classes 2024-05-15 05:23:30 -07:00
exoplayer_smoothstreaming Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Fix and/or bug in XingSeeker 2024-05-16 11:06:05 -07:00
muxer Box: Implement ctts box 2024-05-14 04:32:04 -07:00
session Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
test_data Support AVIF in exoplayer 2024-05-15 08:04:41 -07:00
test_exoplayer_playback Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
test_session_common Add MediaSession.sendError to send non-fatal error data to controllers 2024-05-14 09:30:18 -07:00
test_session_current Reset platform playback state immediately after sending custom error 2024-05-14 10:18:59 -07:00
test_utils Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
test_utils_robolectric Add Dumper.addIfNonDefault methods 2024-04-26 09:00:44 -07:00
transformer Add debug trace log for AssetLoader Renderer format events. 2024-05-16 11:32:13 -07:00
ui Remove references to LegacyPlayerView 2024-04-09 04:12:42 -07:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00