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

Fixed angle computation #185

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

kolesnikov-pasha
Copy link
Contributor

Just a wrong degree to radian formula

Just a wrong degree to radian formula
@izzytwosheds
Copy link
Contributor

Did this code actually run?

@kolesnikov-pasha
Copy link
Contributor Author

kolesnikov-pasha commented Apr 12, 2022

Did this code actually run?

It shouldn't as I understand, but it might if user is using some not accurate math equations to compute angle. For example, it might be called if previously user transformed angle from radians to degrees.

@kolesnikov-pasha
Copy link
Contributor Author

Or if user just want to rotate video in a strange way:)

@izzytwosheds
Copy link
Contributor

That angle is supposed to be video orientation (portrait, landscape, etc.), which is expected to be multiples of 90 degrees. But I guess one can expect any kind of user input. :)

@izzytwosheds izzytwosheds merged commit a29f08c into linkedin:main Apr 12, 2022
@izzytwosheds
Copy link
Contributor

Thank you for the fix!

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