[vlc-devel] commit: media_list_player: Don' t fetch stop event from media player in media_list_player_stop. (Pierre d' Herbemont )
git version control
git at videolan.org
Sun Jul 20 12:20:43 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul 20 12:22:58 2008 +0200| [f9281a91e68bc2f84cc66a13775f5fd1f8ad96d8]
media_list_player: Don't fetch stop event from media player in media_list_player_stop.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9281a91e68bc2f84cc66a13775f5fd1f8ad96d8
---
src/control/media_list_player.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index 6b2bbf9..40b45db 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -435,7 +435,10 @@ void libvlc_media_list_player_stop( libvlc_media_list_player_t * p_mlp,
{
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 );
+ install_media_player_observer( p_mlp );
}
vlc_mutex_lock( &p_mlp->object_lock );
More information about the vlc-devel
mailing list