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 608 parsing continuity #3451

Merged
merged 1 commit into from Feb 4, 2021
Merged

Fix 608 parsing continuity #3451

merged 1 commit into from Feb 4, 2021

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Feb 3, 2021

This PR will...

Fix 608 parsing continuity regression introduced in #3423.

Why is this Pull Request needed?

The 608 parsers must be reset when fragment loading continuity ends. This was handled on FRAG_LOADED, but with v1, that event can and mostly does fire before FRAG_PARSING_USERDATA where 608 samples are received. I moved that logic to FRAG_PARSING_USERDATA but didn't realize that event fires twice for each fragment (once per transmuxer push and once again on flush). While I hope to address some of these details prior to v1.0.0 going GA, resetting on FRAG_LOADING gets the job done for now.

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.0.0 milestone Feb 3, 2021
@robwalch robwalch added this to Top priorities in Release Planning and Backlog via automation Feb 3, 2021
@robwalch robwalch moved this from Top priorities to v1.0.0-beta.5 in Release Planning and Backlog Feb 3, 2021
@robwalch robwalch merged commit 31e6ef5 into master Feb 4, 2021
@robwalch robwalch deleted the bugfix/608-continuity-reset branch February 4, 2021 00:09
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

1 participant