[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.13,1.14

Nicolas Plourde CVS syncmail at mplayerhq.hu
Sun Jun 5 22:21:36 CEST 2005


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv19852/libvo

Modified Files:
	vo_macosx.m 
Log Message:
show window only after texture creation (look better).


Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vo_macosx.m	5 Jun 2005 14:57:36 -0000	1.13
+++ vo_macosx.m	5 Jun 2005 20:21:34 -0000	1.14
@@ -302,9 +302,7 @@
 	[window setInitialFirstResponder:self];
 	[window setAcceptsMouseMovedEvents:YES];
     [window setTitle:@"MPlayer - The Movie Player"];
-	[window center];
-	[window makeKeyAndOrderFront:self];
-	
+	[window center];	
 	
 	[self setOpenGLContext:glContext];
 	[glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];
@@ -323,6 +321,9 @@
 	if(error != kCVReturnSuccess)
 		mp_msg(MSGT_VO, MSGL_ERR,"Failed to create OpenGL texture(%d)\n", error);
 	
+	//show window
+	[window makeKeyAndOrderFront:self];
+	
 	isFullscreen = 0;
 }
 




More information about the MPlayer-cvslog mailing list