Re: Screen saver and preview crashing
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.