media/libraries
tonihei 4231a1d183 Use different wraparound assumptions for duration readers
The timestamp adjuster also estimates the number of wraparounds
of the 90Khz TS timestamp. It does that by assuming that a new
timestamp is always close to the previous one (in either direction).

This logic doesn't always work for duration estimates because the
timestamp at the end of the media is not close to the one at the
beginning and it may also never be less than the one at the beginning.

This can be fixed by introducing a new estimation model that assumes
the new timestamp is strictly greater than the previous one without
making the assumption that it has to be close to it.

Issue: androidx/media#855

#minor-release

PiperOrigin-RevId: 590936953
(cherry picked from commit 01578780a6)
2024-01-09 12:17:48 +00:00
..
cast Return empty timeline when media info is null 2024-01-08 15:18:39 +00:00
common Use different wraparound assumptions for duration readers 2024-01-09 12:17:48 +00:00
container Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-23 13:15:17 +01:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add formatting to scheme list in DefaultDataSource javadoc 2023-10-23 13:15:17 +01:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Deprecate decode-only flag. 2023-10-06 15:57:25 +01:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-06 15:57:25 +01:00
decoder_ffmpeg Merge pull request #867 from equeim:ndk-r26 2024-01-09 12:11:49 +00:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2024-01-08 15:26:03 +00:00
decoder_opus Map VORBIS channel layout to Android layout 2024-01-09 10:48:31 +00:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-06 15:57:25 +01:00
effect Update emulator device names 2024-01-08 15:55:36 +00:00
exoplayer Merge pull request #753 from stevemayhew:p-fix-issue-9347 2024-01-09 12:17:39 +00:00
exoplayer_dash Fix typo in DashManifestParser 2024-01-08 15:31:29 +00:00
exoplayer_hls Calculate HLS live playlist refresh interval accurately 2023-10-23 13:15:16 +01:00
exoplayer_ima Bump IMA SDK version to 3.31.0 2023-09-21 05:54:13 -07:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-23 13:15:17 +01:00
exoplayer_smoothstreaming Add functionality to transmit CMCD data using query parameters 2023-08-31 02:11:12 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Use different wraparound assumptions for duration readers 2024-01-09 12:17:48 +00:00
muxer Make sure the mdat box is not extended by more than 1 GB at a time. 2023-09-08 04:07:13 -07:00
session Fix broadcasting notifyChildrenChanged for legacy controllers 2024-01-09 12:17:48 +00:00
test_data Merge pull request #864 from v-novaltd:dsparano-exo129_2 2024-01-09 12:11:49 +00:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Add session extras to the state of the controller 2024-01-08 15:26:08 +00:00
test_session_current Fix broadcasting notifyChildrenChanged for legacy controllers 2024-01-09 12:17:48 +00:00
test_utils Fix handling of multiple HEVC tracks in JPEG motion photos 2024-01-09 12:11:46 +00:00
test_utils_robolectric Fix handling of multiple HEVC tracks in JPEG motion photos 2024-01-09 12:11:46 +00:00
transformer TransformerEndToEndTest: replace /*testId=*/ with variable 2024-01-09 12:08:20 +00:00
ui Workaround layout problems with Material Design 2024-01-08 15:18:38 +00:00
ui_leanback Prevent forwarding of zero video size to Leanback 2023-08-30 12:20:51 -07:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2024-01-08 15:18:38 +00:00