<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>Thanks a lot! Could you tell me the VLC's code changes on linux, please?<BR><BR></DIV>
<DIV></DIV>
<DIV id="divNeteaseMailCard"></DIV>
<DIV><BR></DIV><PRE><BR>At 2012-06-29 18:32:17,"Sergey Radionov" <rsatom@gmail.com> wrote:
>fix crash on closing some host applications when media still playing.
>---
> activex/plugin.cpp |   16 ++++++++--------
> 1 files changed, 8 insertions(+), 8 deletions(-)
>
>diff --git a/activex/plugin.cpp b/activex/plugin.cpp
>index fe5c5b8..17ac732 100644
>--- a/activex/plugin.cpp
>+++ b/activex/plugin.cpp
>@@ -282,6 +282,14 @@ VLCPlugin::VLCPlugin(VLCPluginClass *p_class, LPUNKNOWN pUnkOuter) :

> VLCPlugin::~VLCPlugin()
> {
>+    if( vlc_player::is_open() )
>+    {
>+        if( isPlaying() )
>+            playlist_stop();
>+
>+        player_unregister_events();
>+    }
>+
>     delete vlcSupportErrorInfo;
>     delete vlcOleObject;
>     delete vlcDataObject;
>@@ -304,14 +312,6 @@ VLCPlugin::~VLCPlugin()
>     SysFreeString(_bstr_mrl);
>     SysFreeString(_bstr_baseurl);

>-    if( vlc_player::is_open() )
>-    {
>-        if( isPlaying() )
>-            playlist_stop();
>-
>-        player_unregister_events();
>-    }
>-
>     if( _p_libvlc )  { libvlc_release(_p_libvlc); _p_libvlc=NULL; }

>     _p_class->Release();
>-- 
>1.7.7.1.msysgit.0
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>http://mailman.videolan.org/listinfo/vlc-devel
</PRE></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"><div id="netease_mail_footer"><div style="border-top:#CCCCCC 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a id="mobile_set" sys="1" log=1 logid="free_sms_20120504" href="http://shouji.163.com" target="_blank" style="color:#0000FF">了解更多</a></div></div>
</span></span>