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 to allow multi language audio to be packaged correctly. #231

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

duggaraju
Copy link
Collaborator

Use stream id instead of stream type to select multiple audios correctly. Assumes that track id is stream_index + 1 which works 99% of time but could be incorrect some times.

Use stream id instead of stream type to select multiple audios correctly.
Assumes that track id is stream_index + 1 which works 99% of time but could be incorrect some times.
@duggaraju
Copy link
Collaborator Author

Fixes #230 . While usually the MP4 track ID is stream_index (0-based) + 1. It doesn't always have to be that way and that could fail in some rare cases. It works for the customer reported scenario.

@pohhsu pohhsu merged commit 2dd5b13 into main Dec 26, 2023
4 checks passed
@pohhsu pohhsu deleted the duggaraju/multi_audio branch December 26, 2023 06:49
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.

2 participants