Commit aa2415bd authored by Jean-Paul Saman's avatar Jean-Paul Saman

activex: stop media_player before releasing it.

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent d599e7db
...@@ -1186,6 +1186,8 @@ bool VLCPlugin::playlist_select( int idx ) ...@@ -1186,6 +1186,8 @@ bool VLCPlugin::playlist_select( int idx )
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