summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-04 12:37:44 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-04 12:37:44 +0000
commit9ff365af342f879ab60757cb7263c87fdcb9b0ef (patch)
tree294ce09ea6f1e5d93b0d98ebb968bd39d7ab3d40
parent63985abe1a9b5818370054327904b265c3ac8cfa (diff)
downloadmpv-9ff365af342f879ab60757cb7263c87fdcb9b0ef.tar.bz2
mpv-9ff365af342f879ab60757cb7263c87fdcb9b0ef.tar.xz
update activity every 30 sec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17726 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_macosx.m4
1 files 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;