From 37b3b800c5b333ac5c8841407fac97228ba951e2 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Fri, 12 Mar 2010 12:59:57 +0100 Subject: [PATCH] activex: stop playing on page reload --- projects/activex/plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2