Lyndon, Which version of which app are you seeing the problem in? We have some reports of issues with FCPX 10.2 in this area, and I suspect this is another manifestation of the same issue. However, I’d like to be sure. If you could supply the above info, that would be helpful. Darrin
On May 3, 2015, at 6:38 AM, Lyndon Hill <lyndon@tiliam.com> wrote:
Hi
I’m trying to get the start frame and end frame numbers from a clip that my filter is working on, on the timeline.
double start = [timingApi startTimeForEffect:self]; double duration = [timingApi durationForEffect:self];
However start always gives the start with reference to the timeline and doesn’t handle trimmed start.
Just in case my explanation is not clear; say I start a new project, add a 100 frame clip to the timeline and trim the first 20 frames. The code above gives a start of 0 and duration 80. I need to know that the start is now at frame 20.
There was discussion about this feature on the ML back in 2009, see http://lists.apple.com/archives/pro-apps-dev/2009/Oct/msg00005.html
I guess it could have been implemented in FxTimingAPI_v3 but I can’t find the reference documentation for this. The FxPlug SDK documentation (https://developer.apple.com/library/mac/documentation/AppleApplications/Conc...) has many protocols that are not documented/linked.
thanks in advance
Lyndon Hill
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
This email sent to dcardani@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com