[MPlayer-dev-eng] [PATCH] Make vo_macosx support double buffering by default
Tim Wojtulewicz
timwoj at ieee.org
Fri Oct 12 22:51:37 CEST 2007
On Oct 11, 2007, at 6:34 AM, Ulion wrote:
> 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.
That seems to work as well.
Tim
More information about the MPlayer-dev-eng
mailing list