• 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
Re: Screen saver and preview crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen saver and preview crashing


  • Subject: Re: Screen saver and preview crashing
  • From: email@hidden
  • Date: Mon, 8 Jul 2002 08:58:32 +0200

On dimanche, juillet 7, 2002, at 11:58 , Arthur Clemens wrote:

I would suggest having a look at the code source for SaveHollywood, it's a Screen Saver playing Quicktime Movies and Flash animation too:

http://s.sudre.free.fr/Software/Source/scsavehollywood.tar.gz


Yes, that is a piece of useful code!

The thing I found is that I used dealloc, and leaving it out stopped the crashing. In SaveHollywood you use no dealloc. Shouldn't I be using dealloc in a screen saver?

The NSMovieView is currently not very clever -let's say it's dumb -.

If a movie is playing and the NSMovieView is removed from the view hierarchy, then the application crashes.

If a streaming movie is trying to get its information and the NSMovieView is removed, then the movie is still displayed on screen.

NSMovieView and QuickTime support in Cocoa are sometimes really strange...
_______________________________________________
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.
References: 
 >Re: Screen saver and preview crashing (From: Arthur Clemens <email@hidden>)

  • Prev by Date: Receive an URL through my applications icon?
  • Next by Date: Create an Cocoa Scriptable application :
  • Previous by thread: Re: Screen saver and preview crashing
  • Next by thread: NSBundle Classes
  • Index(es):
    • Date
    • Thread