[vlc-devel] [PATCH 2/3] lib: add libvlc_media_list_player_set_pause

Rémi Denis-Courmont remi at remlab.net
Fri Dec 8 18:03:54 CET 2017


Le perjantaina 8. joulukuuta 2017, 14.23.46 EET Thomas Guillem a écrit :
> ---
>  include/vlc/libvlc_media_list_player.h | 11 +++++++++++
>  lib/media_list_player.c                |  8 ++++++++
>  2 files changed, 19 insertions(+)
> 
> diff --git a/include/vlc/libvlc_media_list_player.h
> b/include/vlc/libvlc_media_list_player.h index 57f5b8a41f..04f7d9b9f0
> 100644
> --- a/include/vlc/libvlc_media_list_player.h
> +++ b/include/vlc/libvlc_media_list_player.h
> @@ -140,6 +140,17 @@ LIBVLC_API
>  void libvlc_media_list_player_pause(libvlc_media_list_player_t * p_mlp);
> 
>  /**
> + * Pause or resume media list
> + *
> + * \param p_mlp media list player instance
> + * \param do_pause play/resume if zero, pause if non-zero
> + * \version LibVLC 3.0.0 or later
> + */
> +LIBVLC_API
> +void libvlc_media_list_player_set_pause(libvlc_media_list_player_t * p_mlp,
> +                                        int do_pause);
> +

Promoting the media list player? It´s a pretty crappy API, and probably 
unfixable unless API break.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list