[vlc-devel] commit: Fix input_state_changed() (Christophe Mutricy )
git version control
git at videolan.org
Tue Sep 2 00:11:26 CEST 2008
vlc | branch: 0.9-bugfix | Christophe Mutricy <xtophe at videolan.org> | Mon Sep 1 19:36:47 2008 +0100| [91a270c2a7469bed81cf568d96cfad624aef491c] | committer: Christophe Mutricy
Fix input_state_changed()
Patch by Jakob Fries
(cherry picked from commit daeac03ed776f9052240c861db2fb825904659f2)
Signed-off-by: Christophe Mutricy <xtophe at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91a270c2a7469bed81cf568d96cfad624aef491c
---
src/control/media_player.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/control/media_player.c b/src/control/media_player.c
index a90d177..0928900 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -183,6 +183,7 @@ input_state_changed( const vlc_event_t * event, void * p_userdata )
case END_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Ended, NULL);
forwarded_event.type = libvlc_MediaPlayerEndReached;
+ break;
case ERROR_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Error, NULL);
forwarded_event.type = libvlc_MediaPlayerEncounteredError;
More information about the vlc-devel
mailing list