# HG changeset patch # User reimar # Date 1347392350 0 # Node ID 90a2e4fedfab00cd75d8a3b9677bce0f7944b263 # Parent 93f15b7e12c023be7a9fedd61da8562500f65d36 Remove pointless one-line function. diff -r 93f15b7e12c0 -r 90a2e4fedfab libvo/vo_corevideo.h --- a/libvo/vo_corevideo.h Tue Sep 11 19:36:19 2012 +0000 +++ b/libvo/vo_corevideo.h Tue Sep 11 19:39:10 2012 +0000 @@ -94,7 +94,6 @@ //vo control - (void) fullscreen: (BOOL) animate; - (void) ontop; -- (void) panscan; - (void) rootwin; //menu diff -r 93f15b7e12c0 -r 90a2e4fedfab libvo/vo_corevideo.m --- a/libvo/vo_corevideo.m Tue Sep 11 19:36:19 2012 +0000 +++ b/libvo/vo_corevideo.m Tue Sep 11 19:39:10 2012 +0000 @@ -456,7 +456,7 @@ 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 @@ else [kPanScanCmd setState:NSOffState]; - [self panscan]; + panscan_calc(); } if(sender == kAspectOrgCmd) @@ -874,14 +874,6 @@ } /* - Toggle panscan -*/ -- (void) panscan -{ - panscan_calc(); -} - -/* Toggle rootwin */ - (void) rootwin