Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow time overlaps, includes tests #34

Merged
merged 3 commits into from
Mar 17, 2020
Merged

Allow time overlaps, includes tests #34

merged 3 commits into from
Mar 17, 2020

Conversation

autotel
Copy link
Contributor

@autotel autotel commented Feb 29, 2020

I paid a fast review of the standard, and I didn't find anything with regard to cues ending after the next cue started, but I found some examples which seemed to suggest that it is valid. (example 8 at https://www.w3.org/TR/webvtt1/)

autotel and others added 3 commits February 26, 2020 11:32
Fix checking for time order.
* permit overlap of cues (not comparing end to start, but start to start)
Allow overlapping cues, which is done by comparing starting points instead of end-versus start points.
Perhaps a warning should be emitted in case of overlapping cues?
@osk osk merged commit 8d4b99c into osk:master Mar 17, 2020
@osk
Copy link
Owner

osk commented Mar 17, 2020

Thanks @autotel

@osk
Copy link
Owner

osk commented Mar 17, 2020

Released in v1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants