On 8 Feb 2012, at 8:00 AM, Jan E. Schotsman wrote:
> if ( status == AVKeyValueStatusLoaded ) {
> [self performSelectorOnMainThread: @selector(processMovie:)
> withObject: movieAsset
> waitUntilDone: YES];
> }
(Reformatted to fit the screen and my crotchets; sorry)
Why do you set waitUntilDone:? I don't see what it gets you (you don't use the
resulting state), so there's no point in hanging the AV thread. That your
problem is in pthread_mutex_unlock suggests a threading problem.
— F
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]