[vlc-devel] Playlist Events

Amaresh Ram Amaresh.Ram at lntinfotech.com
Wed May 14 07:38:12 CEST 2008


Rémi,

Thanks for the information.

But as per my understanding input object is a transient object, its life
cycle starts by trigger from Playlist and ends either by trigger from
Playlist or on termination of stream. so application needs to check for the
valid input objects continuously in a loop and register the callback
function. IMO, callback function should be registered with playlist, which
internally, attach the callback function to input object. Playlist is
anyway already running a thread.

regards/Amaresh



                                                                           
             Rémi                                                          
             Denis-Courmont                                                
             <rdenis at simphalem                                          To 
             pin.com>                  vlc-devel at videolan.org              
                                                                        cc 
             05/13/2008 08:31          Amaresh.Ram at lntinfotech.com         
             PM                                                    Subject 
                                       Re: [vlc-devel] Playlist Events     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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