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

Clip Property kOfxImageClipPropDisplayTimeOffset #67

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fxtech
Copy link
Contributor

@fxtech fxtech commented Nov 12, 2019

Issue #58
I added a #define and description for kOfxImageClipPropDisplayTimeOffset.
A plugin can query this read-only clip property to determine the clip starting frame number in the environment's user time domain. ie if the clip starts at frame 1001, this property would return 1001. This value should be added to time values for purposes of display in a custom user interface that shows frame numbers (ie. a special preset browser or custom player).

- Property Set - clip instance (read only)
- Default - 0

This value should be added to the internal frame number when displayed in a plugin user interface
Copy link
Contributor

@garyo garyo Nov 12, 2019

Choose a reason for hiding this comment

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

Perhaps: "Plugins should add this value to internal OFX frame numbers when displayed in a plugin user interface, so the user will see the same frame numbers as they see in the host's UI."

@fxtech
Copy link
Contributor Author

fxtech commented Nov 13, 2019 via email

@garyo
Copy link
Contributor

garyo commented Nov 13, 2019 via email

@revisionfx
Copy link
Contributor

Sorry isn't this something that should be in timeline suite?
And also as mentioned earlier if param is of type ofxTime shouldn't it allows you to display in timeline time and report in effects time? SO if one moves clip on timeline, ofxTime internally stays at same frame in effects local time but shows the new timeline time?

@fxtech
Copy link
Contributor Author

fxtech commented Feb 7, 2023

This could probably be done with the Timeline suite. I thought adding a property is less "heavy" than adding a function to a suite. Would be good to discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants