FxTemporalImageAPI return zero'd out buffers
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Brad Wright _______________________________________________ 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: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... I updated everything to the latest versions of FCP and the FXPlug SDK, but I still get zero byte buffers from FCP. Here's the code that I'm using: tempororalImageApi = [_apiManager apiForProtocol:@protocol (FxTemporalImageAPI)]; if (tempororalImageApi==NULL) { NSLog(@"Unable to get temporal image API\n"); return NO; } imageInfo.depth = kFxDepth_UINT8; imageInfo.qualityLevel = renderInfo.qualityLevel; if ([tempororalImageApi getInputBitmap:(FxBitmap **) &myBitmapImage withInfo:(FxRenderInfo) imageInfo atTime:(double) renderInfo.frame]==NO) { NSLog(@"Failed to retrieve the original Bitmap image\n"); return NO; } char* testPointer = [myBitmapImage dataPtr]; //<--- The data pointer is all zero'd out. There's no image data whatsoever. I could get this to work in the previous versions of FCP 5 and 6 by placing a clip in the timeline that didn't match the sequence settings. For some reason that made FCP return the correct image data. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brad Wright