[vlc-commits] commit: activex: stop playing on page reload (Jean-Paul Saman )

git at videolan.org git at videolan.org
Thu Mar 18 11:19:15 CET 2010


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Mar 12 12:59:57 2010 +0100| [37b3b800c5b333ac5c8841407fac97228ba951e2] | committer: Jean-Paul Saman 

activex: stop playing on page reload

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37b3b800c5b333ac5c8841407fac97228ba951e2
---

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

diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp
index a76a90e..1d9a23f 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;



More information about the vlc-commits mailing list