[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.20,1.21
Nicolas Plourde CVS
syncmail at mplayerhq.hu
Thu Jun 16 18:41:46 CEST 2005
CVS change done by Nicolas Plourde CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv5347/libvo
Modified Files:
vo_macosx.m
Log Message:
set nsapp and setup cocoa with NSApplicationLoad
Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- vo_macosx.m 16 Jun 2005 16:14:05 -0000 1.20
+++ vo_macosx.m 16 Jun 2005 16:41:44 -0000 1.21
@@ -240,8 +240,9 @@
}
}
+ NSApplicationLoad();
autoreleasepool = [[NSAutoreleasePool alloc] init];
- [NSApplication sharedApplication];
+ NSApp = [NSApplication sharedApplication];
mpGLView = [[MPlayerOpenGLView alloc] initWithFrame:NSMakeRect(0, 0, 0, 0) pixelFormat:[MPlayerOpenGLView defaultPixelFormat]];
[mpGLView autorelease];
More information about the MPlayer-cvslog
mailing list