media/libraries
tonihei e98b846884 Reset readingPositionUs in BaseRenderer.enable
This does currently only happen by chance in replaceStream (called from
enable) if the stream previosly played read until C.TIME_END_OF_SOURCE.

enable already makes all changes done in resetPosition (except resetting
the reading position), so it's less error-prone and makes the intention
clearer if the same code is called from both enable and resetPosition.

The effect of this bug was quite limited because the numerical value
of readingPositionUs was only relevant for periods with changing
durations and server-side inserted ads.

PiperOrigin-RevId: 422300690
2022-01-25 18:29:14 +00:00
..
cast Include mediaId when marshalling a MediaItem to JSON 2022-01-11 13:29:06 +00:00
common Transformer GL: Clarify variables and comments. 2022-01-25 18:17:15 +00:00
database Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource Change DefaultHttpDataSourceTest to an instrumentation test 2022-01-05 10:00:46 +00:00
datasource_cronet Update dependency versions 2021-11-19 14:42:25 +00:00
datasource_okhttp Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource_rtmp Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_av1 Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
decoder_ffmpeg Add a builder to DefaultAudioSink 2021-12-07 17:37:45 +00:00
decoder_flac Add a builder to DefaultAudioSink 2021-12-07 17:37:45 +00:00
decoder_opus Fix 1 ErrorProneStyle finding: 2022-01-05 12:15:12 +00:00
decoder_vp9 Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
exoplayer Reset readingPositionUs in BaseRenderer.enable 2022-01-25 18:29:14 +00:00
exoplayer_dash Inherit parent properties for manifests with dvb profile only 2022-01-25 18:23:20 +00:00
exoplayer_hls Disable live speed adjustment where it has no benefit 2022-01-25 18:04:02 +00:00
exoplayer_ima Add MediaSource.Factory and deprecate MediaSourceFactory 2022-01-05 10:51:41 +00:00
exoplayer_rtsp Use RTSP server for RTSP auth realm. 2022-01-11 13:32:41 +00:00
exoplayer_smoothstreaming Remove setTag from (Ss|Hls|Dash)MediaSource.Factory 2022-01-11 13:44:06 +00:00
exoplayer_workmanager Update to androidx.media3 2021-10-27 09:12:46 +01:00
extractor Parse CryptoInfo from simpleTag and set it into DrmInitData. 2022-01-05 12:15:27 +00:00
session Stop using vector drawable on Notification for API<21 2022-01-25 18:28:08 +00:00
test_data Inherit parent properties for manifests with dvb profile only 2022-01-25 18:23:20 +00:00
test_exoplayer_playback Migrate usages of deprecated MediaSourceFactory methods 2022-01-05 10:40:02 +00:00
test_session_common Migrate media3.session references from Window to MediaItem 2021-11-08 15:13:41 +00:00
test_session_current Use MediaController to control sessions 2022-01-25 18:25:46 +00:00
test_utils Remove Transformer-specific things from MediaCodecAdapter. 2022-01-25 18:05:31 +00:00
test_utils_robolectric Migrate usages of Window-based Player methods 2021-11-09 10:07:30 +00:00
transformer Add FallbackListener. 2022-01-25 18:21:56 +00:00
ui Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00