[vlc-devel] [PATCH] libvlc: add missing event registrations for the new audio events

Rémi Denis-Courmont remi at remlab.net
Tue Jul 28 09:11:18 CEST 2015


Le 2015-07-27 21:58, Mark Lee a écrit :
> ---
>  lib/media_player.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/lib/media_player.c b/lib/media_player.c
> index 778ef80..ba7158e 100644
> --- a/lib/media_player.c
> +++ b/lib/media_player.c
> @@ -712,6 +712,10 @@ libvlc_media_player_new( libvlc_instance_t 
> *instance )
>      register_event(mp, ESSelected);
>      register_event(mp, Corked);
>      register_event(mp, Uncorked);
> +    register_event(mp, Muted);
> +    register_event(mp, Unmuted);
> +    register_event(mp, AudioVolume);
> +    register_event(mp, AudioDevice);

Yes, sorry, fixed, thanks.

Two or three pais of eyes failed to see this. This manual type 
registration needs to die.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list