VTT cue gets duplicated if it spans segments #573
Labels
status: archived
Archived and locked; will not be updated
status: working as intended
The behavior is intended; this is not a bug
System info
Operating System: gLinux
Shaka Packager Version: v2.3.0
Issue and steps to reproduce the problem
When a VTT cue spans a segment boundary, the entire cue is duplicated into two segments. This results in the cue being displayed twice.
Packager Command:
The video doesn't seem to matter, but this subtitle is enough to reproduce with any video:
Both of these cues span segment boundaries at 4s and 8s. Each will appear twice in the output (the first in both s-en-s1.vtt & s-en-s2.vtt, the second in both s-en-s2.vtt & s-en-s3.vtt).
What is the expected result?
The cue should either appear in only one segment or the time range should be split at segment boundaries.
What happens instead?
The cue and its time range are duplicated across the segments, leading to the cue being displayed twice.
See demo: https://nightly-dot-shaka-player-demo.appspot.com/demo/#asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8;audiolang=de;textlang=en;uilang=en;play
<Please attach the input files or email to shaka-packager-issues@google.com.>
I can provide complete, exact inputs internally if desired, but any cue that spans segments will reproduce with any video.
The text was updated successfully, but these errors were encountered: