In addition to the changes in https://github.com/google/ExoPlayer/commit/b18fb368cca9843aeca2cc4d5a01aa4fa41b4bd7 This change essentially reverts https://github.com/google/ExoPlayer/commit/30e5bc9837e2423cd2bb426c5797211e0f6ad76b (Merged Jul 2022). From this CL on, `VideoFrameProcessor` takes in non-offset, monotonically increasing timestamps. For example, with one 5s and one 10s video, - `VideoFrameProcessor`'s input should start from 0 - On switching to the second video (10s), the timestamp of the first frame in the second video should be at 5s. In ExoPlayer however, `streamOffset` is managed differently and thus needs correction before sending the frames to `VideoFrameProcessor`: - The timestamp of the first video is offset by a large int, so the first frame of the first media item has timestamp (assuming) 10000000000000000 - The last frame of the first media item has 10000005000000000 - At this point the stream off set is updated to 10000005000000000 - The pts of the first frame of the second video starts from 0 again. PiperOrigin-RevId: 523444236
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| audio | Loading commit data... | |
| drm | Loading commit data... | |
| metadata | Loading commit data... | |
| offline | Loading commit data... | |
| source | Loading commit data... | |
| text | Loading commit data... | |
| trackselection | Loading commit data... | |
| ui | Loading commit data... | |
| upstream | Loading commit data... | |
| util | Loading commit data... | |
| video | Loading commit data... | |
| BasePlayer.java | Loading commit data... | |
| BundleListRetriever.java | Loading commit data... | |
| Bundleable.java | Loading commit data... | |
| C.java | Loading commit data... | |
| DeviceInfo.java | Loading commit data... | |
| ExoPlayerLibraryInfo.java | Loading commit data... | |
| Format.java | Loading commit data... | |
| ForwardingPlayer.java | Loading commit data... | |
| HeartRating.java | Loading commit data... | |
| IllegalSeekPositionException.java | Loading commit data... | |
| LegacyMediaPlayerWrapper.java | Loading commit data... | |
| MediaItem.java | Loading commit data... | |
| MediaMetadata.java | Loading commit data... | |
| ParserException.java | Loading commit data... | |
| PercentageRating.java | Loading commit data... | |
| PlaybackException.java | Loading commit data... | |
| PlaybackParameters.java | Loading commit data... | |
| Player.java | Loading commit data... | |
| Rating.java | Loading commit data... | |
| SimpleBasePlayer.java | Loading commit data... | |
| StarRating.java | Loading commit data... | |
| ThumbRating.java | Loading commit data... | |
| Timeline.java | Loading commit data... | |
| Tracks.java | Loading commit data... | |
| package-info.java | Loading commit data... |