• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QT wrong load state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Diacritical characters (Umlaute) in Obj-C Source
  • Next by Date: NSMovie to/from NSData
  • Previous by thread: QT wrong load state
  • Next by thread: NSPopUpButton..
  • Index(es):
    • Date
    • Thread