[vlc-devel] commit: libvlc: on stop, fire a stopped event, not end reached ( Filippo Carone )
git version control
git at videolan.org
Mon Dec 22 10:07:22 CET 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Dec 21 16:39:26 2008 +0100| [9ba6c6d95101c96350755b8b28e1d653abd16bc6] | committer: Filippo Carone
libvlc: on stop, fire a stopped event, not end reached
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ba6c6d95101c96350755b8b28e1d653abd16bc6
---
src/control/media_player.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/control/media_player.c b/src/control/media_player.c
index 8cd0cef..58e8350 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -647,7 +647,7 @@ void libvlc_media_player_stop( libvlc_media_player_t *p_mi,
/* Construct and send the event */
libvlc_event_t event;
- event.type = libvlc_MediaPlayerEndReached;
+ event.type = libvlc_MediaPlayerStopped;
libvlc_event_send( p_mi->p_event_manager, &event );
}
More information about the vlc-devel
mailing list