Commit 02e704ff authored by unknown's avatar unknown Committed by Jean-Paul Saman

activex: stop playing on reload

parent f1cde45f
...@@ -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