From 9ff365af342f879ab60757cb7263c87fdcb9b0ef Mon Sep 17 00:00:00 2001 From: nplourde Date: Sat, 4 Mar 2006 12:37:44 +0000 Subject: update activity every 30 sec git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_macosx.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 86136beedc..ccb3c1e73a 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -723,7 +723,7 @@ static int control(uint32_t request, void *data, ...) } } - //update activity every 60 seconds to prevent + //update activity every 30 seconds to prevent //screensaver from starting up. DateTimeRec d; unsigned long curTime; @@ -732,7 +732,7 @@ static int control(uint32_t request, void *data, ...) GetTime(&d); DateToSeconds( &d, &curTime); - if( ( (curTime - lastTime) >= 60) || (lastTime == 0)) + if( ( (curTime - lastTime) >= 30) || (lastTime == 0)) { UpdateSystemActivity(UsrActivity); lastTime = curTime; -- cgit v1.2.3