From aa2415bdc1c6e6d8e6aa5867881dbdf27a44e3c4 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Tue, 16 Feb 2010 09:59:07 +0100 Subject: [PATCH] activex: stop media_player before releasing it. Signed-off-by: Jean-Paul Saman --- projects/activex/plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp index 01d5991d66..a76a90e5a1 100644 --- a/projects/activex/plugin.cpp +++ b/projects/activex/plugin.cpp @@ -1186,6 +1186,8 @@ bool VLCPlugin::playlist_select( int idx ) if( _p_mplayer ) { + if( isPlaying() ) + playlist_stop(); player_unregister_events(); libvlc_media_player_release( _p_mplayer ); _p_mplayer = NULL; -- 2.39.2