Commit 37b3b800 authored by Jean-Paul Saman's avatar Jean-Paul Saman

activex: stop playing on page reload

parent 427a6f91
...@@ -274,6 +274,9 @@ VLCPlugin::~VLCPlugin() ...@@ -274,6 +274,9 @@ VLCPlugin::~VLCPlugin()
if( _p_mplayer ) if( _p_mplayer )
{ {
if( isPlaying() )
playlist_stop();
player_unregister_events(); player_unregister_events();
libvlc_media_player_release(_p_mplayer); libvlc_media_player_release(_p_mplayer);
_p_mplayer=NULL; _p_mplayer=NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment