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

Thomas Guillem thomas at gllm.fr
Fri Dec 8 18:05:38 CET 2017


On Fri, Dec 8, 2017, at 18:03, Rémi Denis-Courmont wrote:
> 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.

YES it is, but it's still used by VLCKit.

I'm OK to kill it or deprecate it for 4.0.

> 
> -- 
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list