[vlc-commits] npapi win32: detach VlcPlugin from drawable on windows destroying.
Sergey Radionov
git at videolan.org
Sat Dec 31 03:50:19 CET 2011
npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Fri Dec 30 19:10:52 2011 +0700| [2b16e326dd20a3b63e3fe6083f73b1596a6c949d] | committer: Sergey Radionov
npapi win32: detach VlcPlugin from drawable on windows destroying.
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=2b16e326dd20a3b63e3fe6083f73b1596a6c949d
---
npapi/vlcplugin_win.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/npapi/vlcplugin_win.cpp b/npapi/vlcplugin_win.cpp
index 745cfec..91f92c6 100644
--- a/npapi/vlcplugin_win.cpp
+++ b/npapi/vlcplugin_win.cpp
@@ -133,6 +133,7 @@ bool VlcPluginWin::resize_windows()
bool VlcPluginWin::destroy_windows()
{
_WindowsManager.DestroyWindows();
+ SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
return true;
}
More information about the vlc-commits
mailing list