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

Initial timestamps must be unsigned for tfdt v1 box #4900

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Sep 12, 2022

This PR will...

Never use negative start times in m2ts remuxer.

Why is this Pull Request needed?

The remuxed mp4 output includes a tfdt box with base media decode timestamp which is expected to be an unsigned int(64) based on the box version of 1. This does not allow for negative values. The UA checks are not reliable enough to prevent us from using negative values in places where they could break playback.

Resolves issues:

Fixes #4893 #4899

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.2.3 milestone Sep 12, 2022
@robwalch robwalch merged commit 1c9017a into master Sep 13, 2022
@robwalch robwalch deleted the bugfix/unsigned-track-fragment-base-decode-time branch September 13, 2022 00:20
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.

The player does not play on Ipad ios 16
1 participant