summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2012-03-15 20:43:21 +0000
committerRafael Antognolli <antognolli@gmail.com>2012-03-15 20:43:21 +0000
commit8e2f062caf0dd750ffb4631be795b62bc58cdfb5 (patch)
tree2cbb7525c3723f2cef9b14696e741685b3d23a18 /src
parenta6265499eabe85af26193dc01acb289469626c1a (diff)
downloademotion_generic_players-8e2f062caf0dd750ffb4631be795b62bc58cdfb5.tar.gz
emotion/generic-vlc: Add callback for reaching end of playback.
SVN revision: 69437
Diffstat (limited to 'src')
-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);