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

Add support for inexact frame mode #4

Open
peake100 opened this issue May 10, 2021 · 0 comments
Open

Add support for inexact frame mode #4

peake100 opened this issue May 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@peake100
Copy link
Contributor

peake100 commented May 10, 2021

Currently when two Timecode instances are added together, the result is rounded to the nearest frame of the new Timecode value's rate.

There are instances where one might want to keep fractional frame values. We may want to have a setting where this rounding does not occur.

To support a partial-frame mode, we should probably also implement the following magic methods:

  • __round__
  • __ceil__
  • __floor__
@peake100 peake100 added the enhancement New feature or request label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant