[vlc-devel] commit: Added basic VLM events. (Laurent Aimar )

Laurent Aimar fenrir at via.ecp.fr
Sun Mar 22 16:21:11 CET 2009


On Tue, Mar 10, 2009, Sébastien Escudier wrote:
> On Sun, 2009-03-08 at 20:29 +0100, git version control wrote: 
> > vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Mar  8 20:25:52 2009 +0100| [3d82199341fe58cf2a451a1f700d0404e31da557] | committer: Laurent Aimar 
> > 
> > Added basic VLM events.
> > 
> >  You need to attach a callback on the variable 'intf-event' of the vlm
> > object.
> >  Becarefull, as (always) inside an event callback you cannot call back
> > the object (here vlm).
> 
> Thank you, I am now trying to adapt my patch.
> But am I supposed to attach the callback in src/control/vlm.c ?
> This does not seem to be possible as vlm structure is opaque ?
 Mmh, you are right, for the moment, you can just do a cast to
vlc_object_t*.
 I will try to see how to have a better way.

> Can you tell me what I am missing ?
 Nothing, I didn't see that the vlm structure was opaque outside of vlm.c

Regards,

-- 
fenrir



More information about the vlc-devel mailing list