media/libraries
michaelkatz 71bfdd1bce Start early-enabled renderers only after advancing the playing period
Renderers may be enabled for subsequent media items as soon as the current media item's renderer's isEnded() returns true. When a renderer is being enabled and the player is 'playing', that renderer is also started. When playing a mixed playlist of images and content with audio & video, the player may skip some image items because the early-starting of the audio renderer causes a clock update.

A solution is to only start the "early-enabled" renderers at the point of media transition and add a condition on DefaultMediaClock to use the standalone clock when reading-ahead and the renderer clock source is not in a started state.

Issue: androidx/media#1017
PiperOrigin-RevId: 613231227
(cherry picked from commit 638b2a3c86)
2024-04-05 13:05:36 +00:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Allow renderer retry for audio track offload initialization failure 2024-04-02 18:24:33 +00:00
container Remove empty container/src/androidTest directory 2023-12-11 10:41:51 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add supportsMimeType API to bitmapLoader 2024-01-12 13:49:38 -08:00
datasource_cronet Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
datasource_okhttp Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_flac Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
decoder_vp9 Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
effect Fix forward for 216f3fedb8 2024-04-02 16:41:12 +00:00
exoplayer Start early-enabled renderers only after advancing the playing period 2024-04-05 13:05:36 +00:00
exoplayer_dash Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_hls Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_ima Replace or suppress deprecated usages 2024-02-08 17:29:12 +00:00
exoplayer_rtsp Allow empty information attributes in RTSP Session Description 2024-04-02 17:08:26 +00:00
exoplayer_smoothstreaming Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Set correct track id when skipping empty tracks in Mp4Extractor 2024-02-08 17:30:17 +00:00
muxer Write "stco" box instead of "co64" for fragmented MP4 2024-01-25 11:42:44 +00:00
session Fix some invalid javadoc references caught by a new JDK version 2024-04-02 18:43:29 +00:00
test_data Start early-enabled renderers only after advancing the playing period 2024-04-05 13:05:36 +00:00
test_exoplayer_playback Disable 'skip buffers with identical release times' in GTS tests 2024-01-25 11:42:43 +00:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Avoid position jumping back when controller replaces the current item 2024-04-02 18:36:22 +00:00
test_utils Rollback of 406c0a15be 2024-02-08 17:30:17 +00:00
test_utils_robolectric Fix docs on playUntilStartOfMediaItem to match playUntilPosition 2024-04-02 16:41:12 +00:00
transformer Fix failure to write negative PTS sample 2024-04-02 16:57:22 +00:00
ui Fallback to including track language name if display name is not found 2024-04-02 16:13:56 +00: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