media/libraries
michaelkatz 638b2a3c86 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
2024-03-06 08:50:42 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Have VideoSampleExporter output orientation match input 2024-02-28 07:40:53 -08:00
container Add MdtaMetadataEntry constructor with default locale indicator 2024-02-22 10:55:50 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Remove some deprecated DataSpec constructors 2024-03-06 02:26:11 -08:00
datasource_cronet Remove deprecated CronetDataSourceFactory 2024-02-29 04:59:35 -08:00
datasource_okhttp Replace or suppress deprecated usages 2024-01-26 10:06:18 -08: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-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 MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08: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 Test effect-enabled playback 2024-02-27 09:44:24 -08:00
exoplayer Start early-enabled renderers only after advancing the playing period 2024-03-06 08:50:42 -08:00
exoplayer_dash Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_hls Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_ima Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
exoplayer_rtsp Allow empty information attributes in RTSP Session Description 2024-02-20 02:47:40 -08:00
exoplayer_smoothstreaming Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Add Mp4ExtractorTest case for pixel-motion-photo-2-hevc-tracks.mp4 2024-02-28 01:23:01 -08:00
muxer Rename DefaultMp4Writer to BasicMp4Writer 2024-02-29 04:16:15 -08:00
session Refine auto-update logic of CommandButton.isEnabled 2024-03-05 10:08:17 -08:00
test_data Start early-enabled renderers only after advancing the playing period 2024-03-06 08:50:42 -08:00
test_exoplayer_playback Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
test_session_common Remove unnecessary SDK_INT checks 2024-02-13 10:26:19 +00:00
test_session_current Refine auto-update logic of CommandButton.isEnabled 2024-03-05 10:08:17 -08:00
test_utils Test effect-enabled playback 2024-02-27 09:44:24 -08:00
test_utils_robolectric Fix some invalid javadoc references caught by a new JDK version 2024-03-05 05:48:34 -08:00
transformer TransformerInternal: pass outputformat to sampleExporter in image input 2024-03-06 00:45:28 -08:00
ui Small clean-ups and added @InlineMe annotation 2024-02-13 14:48:15 +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