[MPlayer-cvslog] r21562 - trunk/libvo/vo_macosx.m

nplourde subversion at mplayerhq.hu
Sun Dec 10 00:57:28 CET 2006


Author: nplourde
Date: Sun Dec 10 00:57:28 2006
New Revision: 21562

Modified:
   trunk/libvo/vo_macosx.m

Log:
vo_macosx.m disable window animation when going to fullscreen

Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m	(original)
+++ trunk/libvo/vo_macosx.m	Sun Dec 10 00:57:28 2006
@@ -327,7 +327,7 @@
 		case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data));
 		case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); [mpGLView ontop]; return VO_TRUE;
 		case VOCTRL_ROOTWIN: vo_rootwin = (!(vo_rootwin)); [mpGLView rootwin]; return VO_TRUE;
-		case VOCTRL_FULLSCREEN: vo_fs = (!(vo_fs)); [mpGLView fullscreen: YES]; return VO_TRUE;
+		case VOCTRL_FULLSCREEN: vo_fs = (!(vo_fs)); [mpGLView fullscreen: NO]; return VO_TRUE;
 		case VOCTRL_GET_PANSCAN: return VO_TRUE;
 		case VOCTRL_SET_PANSCAN: [mpGLView panscan]; return VO_TRUE;
 	}
@@ -489,7 +489,7 @@
 	if(sender == kHalfScreenCmd)
 	{
 		if(isFullscreen) {
-			vo_fs = (!(vo_fs)); [self fullscreen:YES];
+			vo_fs = (!(vo_fs)); [self fullscreen:NO];
 		}
 		
 		winSizeMult = 0.5;
@@ -501,7 +501,7 @@
 	if(sender == kNormalScreenCmd)
 	{
 		if(isFullscreen) {
-			vo_fs = (!(vo_fs)); [self fullscreen:YES];
+			vo_fs = (!(vo_fs)); [self fullscreen:NO];
 		}
 		
 		winSizeMult = 1;
@@ -513,7 +513,7 @@
 	if(sender == kDoubleScreenCmd)
 	{
 		if(isFullscreen) {
-			vo_fs = (!(vo_fs)); [self fullscreen:YES];
+			vo_fs = (!(vo_fs)); [self fullscreen:NO];
 		}
 		
 		winSizeMult = 2;
@@ -525,7 +525,7 @@
 	if(sender == kFullScreenCmd)
 	{
 		vo_fs = (!(vo_fs));
-		[self fullscreen:YES];
+		[self fullscreen:NO];
 	}
 
 	if(sender == kKeepAspectCmd)



More information about the MPlayer-cvslog mailing list