[vlc-devel] Playlist Events

Rémi Denis-Courmont rdenis at simphalempin.com
Tue May 13 17:01:54 CEST 2008


Le Tuesday 13 May 2008 09:35:45 Remi Denis-Courmont, vous avez écrit :
> On Tue, 13 May 2008 09:43:55 +0530, Amaresh Ram
>
> <Amaresh.Ram at lntinfotech.com> wrote:
> > I am writing my own GUI for VLC. I would like to know whether playlist
> > throws an event on any state transition from stopped to playing, playing
> > to
> > paused, etc ... or I need to pool the playlist continuously.
>
> That would be the input-state variable, IIRC.

More precisely, that's the "state" integer VLC variable of the master input 
object. You can register a callback with it, so you don't have to poll.

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



More information about the vlc-devel mailing list