mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00

- Currently all subtitles we parse contain timestamps relative to the sample timestamp, however we add the sample timestamp in inconsistent ways (sometimes in the Subtitle, sometimes in the SubtitleParser). This change converges on a single approach. It also paves the way for passing absolute offsets to use instead, and being able to apply them in a consistent way in a single place (PlayableSubtitle). This functionality will be required for ISO 14496-30 TTML embedded subtitles. Issue: #689