summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-29 21:49:58 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-29 21:49:58 +0000
commit7d73ce2371f7d478b38c71a3f62e91f651e56d44 (patch)
tree1f8cdd82223c9d98490ee0116fc118bd54e590d4 /libvo
parent0bbc7905c97b77b6c7676fdea305c99080521d81 (diff)
downloadmpv-7d73ce2371f7d478b38c71a3f62e91f651e56d44.tar.bz2
mpv-7d73ce2371f7d478b38c71a3f62e91f651e56d44.tar.xz
crash on autorelease, do not add to pool
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 0d0b3b56e4..fb11e4fdfd 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -281,7 +281,6 @@ static uint32_t control(uint32_t request, void *data, ...)
styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
backing:NSBackingStoreBuffered defer:NO];
- [window autorelease];
[window setDelegate:mpGLView];
[window setContentView:mpGLView];
[window setInitialFirstResponder:mpGLView];
@@ -308,7 +307,6 @@ static uint32_t control(uint32_t request, void *data, ...)
//create OpenGL Context
glContext = [[NSOpenGLContext alloc] initWithFormat:[NSOpenGLView defaultPixelFormat] shareContext:nil];
- [glContext autorelease];
[self setOpenGLContext:glContext];
[glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];