[vlc-devel] [PATCH 3/6] libvlc: handle playlist autostart
Victorien Le Couviour
victorien.lecouviour.tuffet at gmail.com
Mon Dec 3 14:33:07 CET 2018
please forget this patch
On Tue, Nov 27, 2018 at 1:28 PM Victorien Le Couviour--Tuffet <
victorien.lecouviour.tuffet at gmail.com> wrote:
> ---
> src/libvlc.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/libvlc.c b/src/libvlc.c
> index f5d6382cfd..8061171cae 100644
> --- a/src/libvlc.c
> +++ b/src/libvlc.c
> @@ -416,6 +416,13 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int
> i_argc,
> free( psz_val );
> }
>
> + if (var_InheritBool(VLC_OBJECT(p_libvlc), "playlist-autostart"))
> + {
> + vlc_playlist_Lock(priv->main_playlist);
> + vlc_playlist_Start(priv->main_playlist);
> + vlc_playlist_Unlock(priv->main_playlist);
> + }
> +
> /* Callbacks between interfaces */
>
> /* Create a variable for showing the right click menu */
> --
> 2.19.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181203/7a027ccd/attachment.html>
More information about the vlc-devel
mailing list