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 an issue where the duration is less than 1 sec, which will divide by zero exception #104

Conversation

Ma7moudHatem
Copy link
Contributor

@Ma7moudHatem Ma7moudHatem commented Mar 16, 2021

  • Fix an issue where the duration is less than 1 sec, which will cause a divide by zero exception.
  • Convert the Micros to seconds as a float to count the fractions of a second

…e divide by zero exception

- Release unused anymore MediaMetadataRetriever instance
- In PassthroughSoftwareRenderer, make FRAME_WAIT_TIMEOUT equals to 0, because on some device the current value cause an almost infinite processing time
Copy link
Contributor

@izzytwosheds izzytwosheds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have three unrelated fixes in the same PR. Can you split them into separate PRs? This way we will have cleaner commit history.

@izzytwosheds izzytwosheds merged commit dc19a8d into linkedin:main Mar 17, 2021
@Ma7moudHatem Ma7moudHatem deleted the fix-estimate_video_track_bitrate_issue_and_others branch March 17, 2021 13:41
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