[mythtv] Re: Re: MacOS X binary Rev1 released

Jeremiah Morris jm at whpress.com
Thu Nov 4 17:05:06 UTC 2004


On 3 Nov 2004, at 11:04 PM, Joshua King wrote:

> On 4/11/04 11:16 AM, "Brad" <mythtv at braddolman.com> wrote:
>
>> When using other MPlayer or VLC, they keep the
>> display from going to sleep while video is playing.
>
> http://developer.apple.com/qa/qa2004/qa1160.html

Thanks, Brad and Joshua.  Based on the link, I put together a quick 
sleep-prevention patch.  It only fires when new video frames are 
processed, so the computer is allowed to sleep if you're on a menu 
screen or the video is paused -- this seemed like a good measure of 
activity to me.

- Jeremiah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quartz_sleep.diff
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041104/c3e818a0/quartz_sleep.obj


More information about the mythtv-dev mailing list