[MPlayer-dev-eng] [PATCH] vo_directx leaks when -loop 0 is used
Timothy Lee
timothy.lee at siriushk.com
Tue May 10 03:17:40 CEST 2005
Dear Sascha,
>> * GDI leaks caused by the creation of icon and brushes every time
>> preinit() is called
>>
>>
>
>I think it would be better if the brush and icon were destroyed during
>uninit()
>Could you update your patch to do this?
>
>
Then UnregisterClass() would have to be called in uninit() as well,
since the icon and brushes are tied to the window class. With a '-loop
0' option, this leads to alternating calls to RegisterClass() and
UnregisterClass(), which is not very efficient...
Regards,
Timothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050510/23650a9b/attachment.htm>
More information about the MPlayer-dev-eng
mailing list