media/libraries
claincly 32be985c7c Remove setters for streamOffset.
In addition to the changes in 3a5c4277a7

This change essentially reverts 30e5bc9837 (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
2023-04-12 16:52:48 +01:00
..
cast Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
common Remove setters for streamOffset. 2023-04-12 16:52:48 +01:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_cronet Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_flac Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_opus Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_vp9 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
effect Remove setters for streamOffset. 2023-04-12 16:52:48 +01:00
exoplayer Remove setters for streamOffset. 2023-04-12 16:52:48 +01:00
exoplayer_dash Remove mediaTimeOffsetMs from EventDispatcher 2023-04-05 15:34:35 +01:00
exoplayer_hls Remove mediaTimeOffsetMs from EventDispatcher 2023-04-05 15:34:35 +01:00
exoplayer_ima Correct ad durations when timeline moves more than a single period 2023-04-11 10:30:27 +01:00
exoplayer_rtsp Move NAL unit utility classes into common 2023-04-05 15:45:35 +01:00
exoplayer_smoothstreaming Remove mediaTimeOffsetMs from EventDispatcher 2023-04-05 15:34:35 +01:00
exoplayer_workmanager Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
extractor Move NAL unit utility classes into common 2023-04-05 15:45:35 +01:00
session Deprecate MediaMetadata folderType and stabilize mediaType+isBrowsable 2023-04-11 10:28:39 +01:00
test_data HDR: Add HDR pixel tests. 2023-04-12 16:51:51 +01:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_session_current Set duration in QueueTimeline 2023-04-05 13:17:58 +01:00
test_utils HDR: Add HDR pixel tests. 2023-04-12 16:51:51 +01:00
test_utils_robolectric Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
transformer HDR: Add HDR pixel tests. 2023-04-12 16:51:51 +01:00
ui Make PlayerView fold aware 2023-04-12 16:51:04 +01:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00