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

Use source (or default) frame rate when creating video MediaFormat #213

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

izzytwosheds
Copy link
Contributor

When we were creating MediaFormat in cases when targetMediaFormat was null (keep source format) but overlays were present, we did not populate frame rate. This could be problematic when configuring an encoder, they usually need frame rate to be present.
Now populating it with either source format value, or default of 30 if source format does not have it.

@izzytwosheds izzytwosheds merged commit 0aa66f2 into linkedin:main Sep 7, 2022
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