QT wrong load state
QT wrong load state
- Subject: QT wrong load state
- From: Lorenzo <email@hidden>
- Date: Sat, 24 Jan 2004 13:50:15 +0100
Hi list,
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?
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.