[MPlayer-cvslog] r35163 - in trunk/libvo: vo_corevideo.h vo_corevideo.m

reimar subversion at mplayerhq.hu
Tue Sep 11 21:39:10 CEST 2012


Author: reimar
Date: Tue Sep 11 21:39:10 2012
New Revision: 35163

Log:
Remove pointless one-line function.

Modified:
   trunk/libvo/vo_corevideo.h
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.h
==============================================================================
--- trunk/libvo/vo_corevideo.h	Tue Sep 11 21:36:19 2012	(r35162)
+++ trunk/libvo/vo_corevideo.h	Tue Sep 11 21:39:10 2012	(r35163)
@@ -94,7 +94,6 @@
 //vo control
 - (void) fullscreen: (BOOL) animate;
 - (void) ontop;
-- (void) panscan;
 - (void) rootwin;
 
 //menu

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Tue Sep 11 21:36:19 2012	(r35162)
+++ trunk/libvo/vo_corevideo.m	Tue Sep 11 21:39:10 2012	(r35163)
@@ -456,7 +456,7 @@ static int control(uint32_t request, voi
 		case VOCTRL_ROOTWIN: vo_rootwin = !vo_rootwin; [mpGLView rootwin]; return VO_TRUE;
 		case VOCTRL_FULLSCREEN: vo_fs = !vo_fs; if(!shared_buffer){ [mpGLView fullscreen: NO]; } else { [mplayerosxProto toggleFullscreen]; } return VO_TRUE;
 		case VOCTRL_GET_PANSCAN: return VO_TRUE;
-		case VOCTRL_SET_PANSCAN: [mpGLView panscan]; return VO_TRUE;
+		case VOCTRL_SET_PANSCAN: panscan_calc(); return VO_TRUE;
 		case VOCTRL_UPDATE_SCREENINFO: update_screen_info(); return VO_TRUE;
 	}
 	return VO_NOTIMPL;
@@ -682,7 +682,7 @@ static int control(uint32_t request, voi
 		else
 			[kPanScanCmd setState:NSOffState];
 
-		[self panscan];
+		panscan_calc();
 	}
 
 	if(sender == kAspectOrgCmd)
@@ -874,14 +874,6 @@ static int control(uint32_t request, voi
 }
 
 /*
-	Toggle panscan
-*/
-- (void) panscan
-{
-	panscan_calc();
-}
-
-/*
 	Toggle rootwin
  */
 - (void) rootwin


More information about the MPlayer-cvslog mailing list