Re: QTMovie Load Percent
Re: QTMovie Load Percent
- Subject: Re: QTMovie Load Percent
- From: Tim Monroe <email@hidden>
- Date: Tue, 10 Nov 2009 15:15:31 -0800
On Nov 9, 2009, at 2:54 AM, "Mr. Gecko" wrote:
Hello, I'm trying to find out how much the QTMovie have loaded so I
can get a Percent of it and draw a progress bar. I know it's possible
as QTMovieView's controls shows gray in the middle of how much was
loaded.
I've done some looking around and found this hidden method of QTMovie
loadedRanges and it's a NSArray with an NSConcreteValue, don't know
how to get the value of it, but if I knew, I could probably find the
percentage.
If you had looked farther down in QTMovie_Private.h, you would have
seen this:
- (QTTime)maxTimeLoaded;
One might naively assume that it corresponds to the C level API
GetMaxTimeLoaded.
This is a private method on QTMovie and hence I cannot counsel you to
use it in a shipping app. But I can say that we have gotten more than
one request to make this functionality public in QTKit. You might
experiment with that method to see whether it provides the information
you need.
Tim Monroe
QuickTime Engineering
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden