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

Fix error handling for GAP tags in subtitles or audio #6478

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jun 3, 2024

This PR will...

Fix default error handling of GAP tags always treated as error in MAIN playlist.

Why is this Pull Request needed?

getLevelSwitchAction ignores candidates with the same group ID, but this was being short-circuited by the errorDetails === ErrorDetails.FRAG_GAP && data.frag check.

Are there any points in the code the reviewer needs to double check?

Adding the subtitle fragment with a gap to the fragment tracker prevents loop loading with repeated gap tag error events.

Resolves issues:

Resolves #6475

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.5.11 milestone Jun 3, 2024
@robwalch robwalch marked this pull request as ready for review June 3, 2024 23:30
@robwalch robwalch merged commit 61dd3f5 into patch/v1.5.x Jun 4, 2024
13 of 14 checks passed
@robwalch robwalch deleted the bugfix/gap-tag-on-rendition-playlist branch June 4, 2024 18:10
robwalch added a commit that referenced this pull request Jun 4, 2024
* patch/v1.5.x:
  Fix error handling for GAP tags in subtitles or audio (#6478)
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.

1 participant