Invoking play on a QTMovie causes screensaver to deactivate on Snow Leopard

Posted by ressaw on Stack Overflow See other posts from Stack Overflow or by ressaw
Published on 2010-04-11T15:49:46Z Indexed on 2010/04/11 15:53 UTC
Read the original article Hit count: 251

I'm trying to port a working Leopard screensaver to Snow Leopard but it's deactivating after about half a second. The screensaver seems to deactivate upon invoking play on a QTMovie. And it deactivates both upon -play on the QTMovie object itself, and -play:self on the QTMovieView.

If I don't actually call -play on the object, the screensaver does not deactivate and sits still on the first frame of the movie.

Setting up the same code in a regular Cocoa Application works fine, and the screensaver also works fine in preview mode in the System Preferences.

Any help is greatly appreciated.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about screensaver