]> git.sesse.net Git - vlc/commit
Direct3D9: destroy video hwnd to prevent handle leak
authorHannes Domani <ssbssa@yahoo.de>
Sun, 8 Feb 2015 13:08:50 +0000 (14:08 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 Feb 2015 15:03:09 +0000 (16:03 +0100)
commit580970d3ae3ec2b0c08f0215056a69a7f7a5e747
tree050cef8454ea7968fa3821a7edc59dd6ff9c8dcb
parent7296c976a0821af80626594580a3ee233fccb3b2
Direct3D9: destroy video hwnd to prevent handle leak

IDirect3DDevice9_Present() creates an event like this:
\Sessions\1\BaseNamedObjects\DwmDxBltEvent_a7045e

But it isn't closed with IDirect3DDevice9_Release(), only explicitely
destroying the video window closes the event handle.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/msw/events.c