summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vlc/emotion_generic_vlc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlc/emotion_generic_vlc.c b/src/vlc/emotion_generic_vlc.c
index f286da3..feecac3 100644
--- a/src/vlc/emotion_generic_vlc.c
+++ b/src/vlc/emotion_generic_vlc.c
@@ -522,6 +522,8 @@ _file_set_done(struct _App *app)
_event_cb, app);
libvlc_event_attach(app->event_mgr, libvlc_MediaPlayerSeekableChanged,
_event_cb, app);
+ libvlc_event_attach(app->event_mgr, libvlc_MediaPlayerEndReached,
+ _event_cb, app);
libvlc_audio_set_mute(app->mp, 0);