[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.19,1.20

Nicolas Plourde CVS syncmail at mplayerhq.hu
Thu Jun 16 18:14:07 CEST 2005


CVS change done by Nicolas Plourde CVS

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

Modified Files:
	vo_macosx.m 
Log Message:
proper init of NSApp

Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vo_macosx.m	16 Jun 2005 00:26:47 -0000	1.19
+++ vo_macosx.m	16 Jun 2005 16:14:05 -0000	1.20
@@ -240,8 +240,8 @@
         }
     }
 
-	NSApplicationLoad();
 	autoreleasepool = [[NSAutoreleasePool alloc] init];
+	[NSApplication sharedApplication];
 	
 	mpGLView = [[MPlayerOpenGLView alloc] initWithFrame:NSMakeRect(0, 0, 0, 0) pixelFormat:[MPlayerOpenGLView defaultPixelFormat]];
 	[mpGLView autorelease];




More information about the MPlayer-cvslog mailing list