Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Data Handler getting called asynchronously during export



I've written a data handler component. As I would expect, during playback calls to my ScheduleData64 function are asynchronous. On the other hand, if I save a movie self-contained, the calls to ScheduleData64 are synchronous. However, when I export a movie, the calls are asynchronous, and this is fouling up the export because sometimes I can't return the data in time.

I wrote a delegate-only component that lets me spy on Apple's Data Handlers. Interestingly, I found the opposite behavior for the http data handler and the alias data handker: calls to ScheduleData were synchronous during an export, but asynchronous during a save self- contained.

I can't figure out what's determining how the data handlers behave. For mine, since it gets information over the network, I want synchronous behavior both for flattening and for exports. How to I make that happen?

Thanks for any help!

Derrick

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.