[MPlayer-cvslog] r31802 - trunk/libvo/vo_corevideo.m
reimar
subversion at mplayerhq.hu
Sun Jul 25 13:14:08 CEST 2010
Author: reimar
Date: Sun Jul 25 13:14:07 2010
New Revision: 31802
Log:
Remove useless ().
Modified:
trunk/libvo/vo_corevideo.m
Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m Sun Jul 25 13:07:15 2010 (r31801)
+++ trunk/libvo/vo_corevideo.m Sun Jul 25 13:14:07 2010 (r31802)
@@ -632,13 +632,13 @@ static int control(uint32_t request, voi
[self set_winSizeMult: 2];
if(sender == kFullScreenCmd)
{
- vo_fs = (!(vo_fs));
+ vo_fs = !vo_fs;
[self fullscreen:NO];
}
if(sender == kKeepAspectCmd)
{
- vo_keepaspect = (!(vo_keepaspect));
+ vo_keepaspect = !vo_keepaspect;
if(vo_keepaspect)
[kKeepAspectCmd setState:NSOnState];
else
@@ -649,7 +649,7 @@ static int control(uint32_t request, voi
if(sender == kPanScanCmd)
{
- vo_panscan = (!(vo_panscan));
+ vo_panscan = !vo_panscan;
if(vo_panscan)
[kPanScanCmd setState:NSOnState];
else
@@ -763,7 +763,7 @@ static int control(uint32_t request, voi
//automatically hide mouse cursor (and future on-screen control?)
if(isFullscreen && !mouseHide && !isRootwin)
{
- if( ((curTime - lastMouseHide) >= 5) || (lastMouseHide == 0) )
+ if(curTime - lastMouseHide >= 5 || lastMouseHide == 0)
{
CGDisplayHideCursor(kCGDirectMainDisplay);
mouseHide = TRUE;
@@ -773,7 +773,7 @@ static int control(uint32_t request, voi
//update activity every 30 seconds to prevent
//screensaver from starting up.
- if( ((curTime - lastScreensaverUpdate) >= 30) || (lastScreensaverUpdate == 0) )
+ if(curTime - lastScreensaverUpdate >= 30 || lastScreensaverUpdate == 0)
{
UpdateSystemActivity(UsrActivity);
lastScreensaverUpdate = curTime;
More information about the MPlayer-cvslog
mailing list