QTMovie addImage:forDuration:withAttributes throws NSArray index beyond bounds exception
Originator: | ssteve | ||
Number: | rdar://8987411 | Date Originated: | 2/10/2011 |
Status: | Closed | Resolved: | No |
Product: | OS X | Product Version: | 10.6.6 |
Classification: | Behaves Correctly | Reproducible: | Always |
Summary: Calling addImage:forDuration:withAttributes on a QTMovie created with initToWritableFile throws an NSArray index beyond bounds exception Steps to Reproduce: Run attached sample program (uploaded to http://steveandmimi.com/QTKitCreateMovieTest/QTKitCreateMovieTest.zip). This is a modified version of the QTKitCreateMovie sample code. Instead of adding image resources from the application bundle, it repeatedly draws to an off-screen NSImage and adds that image to the movie. Expected Results: Movie is created. Actual Results: NSArray index beyond bounds exception Regression: Runs correctly under OS X 10.5.8/PowerPC. Runs correctly under OS X 10.5.8/Intel
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!