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 demuxer switching on level switch and discontinuities #2900

Merged
merged 1 commit into from Jul 18, 2020

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jul 16, 2020

This PR will...

Probe segments in order of transmux configs on discontinuities and track switch, to avoid false positives when existing AAC demuxer probes TS files.

Maintain the same demuxer and remuxer as long as the type hasn't changed.

Why is this Pull Request needed?

DAI inserts TS audio segments in audio tracks with AAC segments, and AACDemuxer.probe returns true when passed the TS data.

Throwing away the remuxer when the audio demuxer changes drops audio because the last appended timecode is lost.

Resolves issues:

#2887

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 0.14.4 milestone Jul 16, 2020
@robwalch robwalch merged commit 3394f76 into master Jul 18, 2020
@robwalch robwalch deleted the bugfix/fix-demuxer-probe-and-switch branch July 18, 2020 13:14
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