-
Notifications
You must be signed in to change notification settings - Fork 518
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: Fix handling of non-interleaved multi track FMP4 files #1214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duggaraju, could you add a unit test of some kind for this?
The fix looks good otherwise. Thanks for contributing! |
Thnaks. Let me take a shot at the unit tests and update the PR. |
Added a simple unit tests. |
It seems that the tests crash with an out-of-bounds index. Please fix the tests! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix crashing in the tests.
Donot assume that each fragment contains all tracks. Use track id instead of index to pick the correct timestamp.
@joeyparrish let me know if the changes look ok. |
assuming the tests pass this looks good to me |
@joeyparrish any concerns? |
Looks good to me |
Do not assume that each fragment contains all tracks.
Use track id instead of index to pick the correct timestamp.
Fixes #1213