[vlc-devel] RE : [PATCH] -- libvlc_playlist_play in bin/winvlc.c

brezhoneg1 brezhoneg1 at yahoo.fr
Mon Jun 29 20:56:29 CEST 2009


> À : vlc-devel at videolan.org
> Objet : Re: [vlc-devel] [PATCH] -- libvlc_playlist_play in
bin/winvlc.c
> 
> Le lundi 29 juin 2009 02:02:33 brezhoneg1, vous avez écrit :
> > Is it okay to apply this patch (attachment) ? any better idea ?
> 
> Should this not rather be fixed in the playlist code?
> 

Ideally, this should be fixed in bin/(win)vlc.c. Blocking on a
libvlc_AddIntf was not originally part of the design. For Windows(skins)
and MacOS, the libvlc_playlist_play call which is meant to start
playback is executed when vlc terminates !

Maybe, adding a libvlc_is_alive( instance ) to the API and use it to
limit calling libvlc_playlist_play when it makes sense would be a
cleaner way.

Otherwise, this easy way is the patch I sent previously. 

Rgds
Erwan10




More information about the vlc-devel mailing list