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

Eagerly match segments without tolerance offset #5084

Merged
merged 2 commits into from
Dec 8, 2022

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Dec 3, 2022

This PR will...

Make fragmentWithinToleranceTest eagerly return a match on an exact match before checking for a match with tolerance.

Why is this Pull Request needed?

This is needed to not skip over small segments or segments adjacent to small segments.

Resolves issues:

Fixes #4919

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.3.0 milestone Dec 3, 2022
littlespex
littlespex previously approved these changes Dec 6, 2022
@robwalch robwalch merged commit 5428731 into master Dec 8, 2022
@robwalch robwalch deleted the bugfix/fragment-tolerance branch December 8, 2022 22:40
infocity-hirata pushed a commit to INFOCITY/hls.js that referenced this pull request Jun 30, 2023
* Eagerly match segments without tolerance offset
Fixes video-dev#4919

* Maintain expected `fragPrevious` behavior
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.

small fragment incorrectly skipped
2 participants