[vlc-commits] ActiveX: added Windows Manager detaching from libvlc on libvlc_media_player_release

Sergey Radionov git at videolan.org
Sat Dec 24 14:40:04 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Thu Dec 22 16:04:24 2011 +0700| [1751f600e7d57d199ba89cea18d2a9d04a53903b] | committer: Jean-Baptiste Kempf

ActiveX: added Windows Manager detaching from libvlc on libvlc_media_player_release

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=1751f600e7d57d199ba89cea18d2a9d04a53903b
---

 activex/plugin.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index e4450d5..9c70ba2 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -1245,6 +1245,7 @@ bool VLCPlugin::playlist_select( int idx )
         if( isPlaying() )
             playlist_stop();
         player_unregister_events();
+        _WindowsManager.LibVlcDetach();
         libvlc_media_player_release( _p_mplayer );
         _p_mplayer = NULL;
     }



More information about the vlc-commits mailing list