• 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: NSMovieView blocks Energy Saver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView blocks Energy Saver


  • Subject: Re: NSMovieView blocks Energy Saver
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 23 Oct 2004 16:27:42 -0500


On Oct 23, 2004, at 2:35 PM, Michael Diehr wrote:

I'm using a NSMovieView inside a ScreenSaverView to play back quicktime movies. It works fine, but I notice two significant problems:

1. the NSMovieView captures mouse clicks and key presses (so that if the user hits the space bar or clicks in the window, instead of exiting the screensaver the movie simply pauses).

2. The energy saver will never kick in when the movie is playing.

Is there any way to tell QuickTime and/or the Energy Saver control panel to honor energy saving settings while a NSMovieView is playing?

While it would be a lot more work, you could do things manually by obtaining the movie's individual frames and rendering them. The following example relies on QuickDraw, but it will show you how to use the GetNextInterestingTime function.

<http://developer.apple.com/samplecode/CocoaVideoFrameToGWorld/ CocoaVideoFrameToGWorld.html>

___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >NSMovieView blocks Energy Saver (From: Michael Diehr <email@hidden>)

  • Prev by Date: Re: DO over network
  • Next by Date: Re: NSMovieView blocks Energy Saver
  • Previous by thread: Re: NSMovieView blocks Energy Saver
  • Next by thread: Network location startup
  • Index(es):
    • Date
    • Thread