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

Rescale TimeRange ? #337

Open
alatdneg opened this issue Oct 2, 2018 · 3 comments
Open

Rescale TimeRange ? #337

alatdneg opened this issue Oct 2, 2018 · 3 comments
Labels
Milestone

Comments

@alatdneg
Copy link

alatdneg commented Oct 2, 2018

Should we have a function for this ? Like the one for RationalTime?

@meshula
Copy link
Collaborator

meshula commented Oct 2, 2018

Something to consider. (T/1000)*1000 may not equal T unless care is taken in implementation. This comes up frequently in editing applications when users scale a clip down (to make something play really sped up), then restore the clip later to 1:1 playback.

@ssteinbach
Copy link
Collaborator

@alatdneg Do you mean rescale to keep the duration the same length overall? Or change the rate of both of the rational times to the same rate? Either way, seems totally reasonable.

@ssteinbach ssteinbach added this to the 1.0 Release milestone Oct 3, 2018
@ssteinbach
Copy link
Collaborator

@alatdneg just bumping this to get some clarification.

@jminor jminor added the stale label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants