[vlc-commits] libVLC: add registeration of the new events
Jean-Baptiste Kempf
git at videolan.org
Thu Jul 30 00:14:53 CEST 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 30 00:14:25 2015 +0200| [88edd8acbde1ca78587fc6e6dd33f316d76a99b8] | committer: Jean-Baptiste Kempf
libVLC: add registeration of the new events
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=88edd8acbde1ca78587fc6e6dd33f316d76a99b8
---
lib/media_player.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/media_player.c b/lib/media_player.c
index b09152e..b94b723 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -599,6 +599,9 @@ libvlc_media_player_new( libvlc_instance_t *instance )
register_event(mp, ScrambledChanged);
register_event(mp, Corked);
register_event(mp, Uncorked);
+ register_event(mp, Muted);
+ register_event(mp, Unmuted);
+ register_event(mp, AudioVolume);
var_AddCallback(mp, "corks", corks_changed, NULL);
var_AddCallback(mp, "mute", mute_changed, NULL);
More information about the vlc-commits
mailing list