[vlc-devel] [PATCH 3/4] npapi win32: detach VlcPlugin from drawable on windows destroying.
Sergey Radionov
rsatom at gmail.com
Fri Dec 30 11:46:35 CET 2011
---
npapi/vlcplugin_win.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/npapi/vlcplugin_win.cpp b/npapi/vlcplugin_win.cpp
index 13322d2..d36b078 100644
--- a/npapi/vlcplugin_win.cpp
+++ b/npapi/vlcplugin_win.cpp
@@ -157,6 +157,8 @@ bool VlcPluginWin::destroy_windows()
_NPWndProc = 0;
npwindow.window = 0;
+ SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
+
return true;
}
--
1.7.7.1.msysgit.0
More information about the vlc-devel
mailing list