It seems the new offscreen GWorld has to be set AFTER the call to
QTMovie movieWithQuicktimeMovie:. Before, I was attempting to set
the GWorld immediately after CreatMovieStorage(), and that didn't work.
Here's the code that works, modified from QTKitCreateMovie example:
// instantiate a QTMovie from our QuickTime movie
mMovie = [QTMovie movieWithQuickTimeMovie:qtMovie disposeWhenDone:YES
error:nil];
[mMovie retain];
// mark the movie as editable
[mMovie setAttribute:[NSNumber numberWithBool:YES]
forKey:QTMovieEditableAttribute];
SetMovieGWorld( qtMovie, gworld, NULL );
Cheers,
Juan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden