Commit f9281a91 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

media_list_player: Don't fetch stop event from media player in media_list_player_stop.

parent b1f976cd
...@@ -435,7 +435,10 @@ void libvlc_media_list_player_stop( libvlc_media_list_player_t * p_mlp, ...@@ -435,7 +435,10 @@ void libvlc_media_list_player_stop( libvlc_media_list_player_t * p_mlp,
{ {
if ( p_mlp->p_mi ) if ( p_mlp->p_mi )
{ {
/* We are not interested in getting media stop event now */
uninstall_media_player_observer( p_mlp );
libvlc_media_player_stop( p_mlp->p_mi, p_e ); libvlc_media_player_stop( p_mlp->p_mi, p_e );
install_media_player_observer( p_mlp );
} }
vlc_mutex_lock( &p_mlp->object_lock ); vlc_mutex_lock( &p_mlp->object_lock );
......
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