[MPlayer-dev-eng] [PATCH] Make vo_macosx support double buffering by default
Ulion
ulion2002 at gmail.com
Thu Oct 11 15:34:16 CEST 2007
2007/10/11, Tim Wojtulewicz <timwoj at ieee.org>:
>
> On Oct 6, 2007, at 3:10 AM, Ulion wrote:
>
> >
> > OS version? XCode version?
> > How about this?
> >
> > Index: libvo/vo_macosx.m
> > ===================================================================
> > --- libvo/vo_macosx.m (revision 24704)
> > +++ libvo/vo_macosx.m (working copy)
> > @@ -248,6 +248,7 @@
> > if(mpGLView)
> > {
> > [autoreleasepool release];
> > + mpGLView = nil;
> > }
> > }
> >
>
> That seems to have done the trick. I haven't seen it crash again in
> a few days.
>
Great, it seems be some deallocate problem, maybe put the assign nil
line before the autorelease line is a better solution.
--
Ulion
More information about the MPlayer-dev-eng
mailing list