Mailing Lists: Apple Mailing Lists

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

Re: Data Handler getting called asynchronously during export



On Sep 6, 2006, at 5:38 PM, Eric Carlson wrote:
Have you tried returning "notEnoughDataErr" when you can not return the data in time? This error tells QuickTime that the data it requested was no available within the timeout period, so it should ask again later.



If you mean have I tried returning that error from my DataHFinishData routine, then yes. I've tried both returning noErr and returning notEnoughDataErr and I get the same results; the exporter just repeats the previous successfully retrieved frame (or all white if it is the first frame doesn't come in time) until it gets one when it expects to. It never cancels the request either, so eventually my data handler gets tasked and does deliver the frame; QuickTime just seems to ignore it, though.


Or do you mean that I should call the completion routine from DataHFinishData, but with notEnoughDataErr as the err parameter? I have not tried that.

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
References: 
 >Data Handler getting called asynchronously during export (From: Derrick Bass <email@hidden>)
 >Re: Data Handler getting called asynchronously during export (From: Eric Carlson <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.