From: Jean-Paul Saman Date: Fri, 12 Mar 2010 11:59:57 +0000 (+0100) Subject: activex: stop playing on page reload X-Git-Tag: 1.1.0-pre1~360 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=37b3b800c5b333ac5c8841407fac97228ba951e2;p=vlc activex: stop playing on page reload --- diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp index a76a90e5a1..1d9a23f79e 100644 --- a/projects/activex/plugin.cpp +++ b/projects/activex/plugin.cpp @@ -274,6 +274,9 @@ VLCPlugin::~VLCPlugin() if( _p_mplayer ) { + if( isPlaying() ) + playlist_stop(); + player_unregister_events(); libvlc_media_player_release(_p_mplayer); _p_mplayer=NULL;