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

Clamp 608 captions position between 0 and 100 #790

Merged

Conversation

johnBartos
Copy link
Collaborator

Test stream: playertest.longtailvideo.com/adaptive/captions/playlist.m3u8

In Firefox, a cue in this stream's caption has its position set to over 100, causing an exception to be thrown. This causes caption processing to freeze (cueStartTime never gets changed). Clamp the value between 0 and 100 to prevent the exception.

@mangui mangui merged commit a6bae86 into video-dev:master Nov 1, 2016
mangui added a commit that referenced this pull request Nov 2, 2016
@robwalch robwalch deleted the upstream/bugfix/captions-pos-clamp branch January 27, 2020 17:57
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.

None yet

2 participants