QT wrong load state
QT wrong load state
- Subject: QT wrong load state
- From: Lorenzo <email@hidden>
- Date: Sun, 25 Jan 2004 10:50:33 +0100
Hi,
I load a movie in streaming from a web site this way.
--
NSURL *movieUrl = [NSURL URLWithString:movieLink];
NSMovie *gMovie = [[NSMovie alloc] initWithURL:movieUrl
byReference:NO];
--
it works but sometimes when I check for the load status
--
loadState = GetMovieLoadState([gNSMovie QTMovie]);
--
I get suddenly the value kMovieLoadStateComplete = 100000L
even if I can see the movie is not yet loaded in the QT view.
It's only at 5%... so the loadState should still be
kMovieLoadStateLoading = 1000.
Now, I suppose this could happen because I already streamed this movie and
it is somewhere in some cache. Could it be so? I no, why do I get that wrong
value.
How can I fix the problem?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.