npapi-vlc | branch: master | Sergey Radionov <[email protected]> | 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;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to