Hello, On Thu, May 24, 2012 at 10:21 PM, Baramuse <[email protected]> wrote: > Hi ! > > I'm starting using the AVFoundation, and still trying to do basic > operations. > So please forgive me if the answers seems obvious to you. I've done some > research, and could not find one on my own. > > So, I'm trying to play with : > CGImage CopyCGImageAtTime (CMTime requestedTime, CMTime actualTime, NSError > outError); > > 1. the corresponding method in iOs SDK is : > copyCGImageAtTime:actualTime:error: > http://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVAssetImageGenerator_Class/Reference/Reference.html > It is noted that the* actualTime and outError could be null*... not in the > MonoTouch implementation.. > > 2. the *actualTime* should be filled with the... actual time of the > extracted image (could be different from requestedTime) by the function, not > passed as value.. > > 3. the *outError* should also be filled by the function, not passed as > value. > > So if I want to use that function should I do that ? :
This was reported and fixed earlier this week. https://bugzilla.xamarin.com/show_bug.cgi?id=5218 It is not available in 5.2.12 (which was already under testing) but it will be in the next alpha (5.3.4). If you're using 5.2.12 we might be able to give you an hotfix. Just ask for it on the bug report and I'll attach an updated binary with instructions. If you're using 5.3.x then the upcoming release will solve your issue. > > > .. not working : > Stacktrace: > > > > > I do have problems with the generator.GenerateCGImagesAsynchronously() > method, but maybe answers from this question will help me find out what's my > problem with it :) We'll need additional details to help :) Sebastien _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
