[vlc-devel] [Q] Re: Support of events in Mozilla plugin - Beta

Rémi Denis-Courmont remi at remlab.net
Sat Dec 5 18:17:16 CET 2009


Le mercredi 2 décembre 2009 19:53:31 jpd at videolan.org, vous avez écrit :
> On Tue, Dec 01, 2009 at 05:06:02PM +0100, y.brehon at qiplay.com wrote:
> > - The different events are not registered in a unique way with
> > libvlc: this means we cannot provide a generic way of registering
> > events and plan for future events which don't yet exist. For now,
> > only MediaPlayer events are supported. Even if we were to use strncmp
> > to figure out if the event is a MediaPlayer event, some (e.g.,
> > MediaPlayerLengthChanged) will cause an error.
> 
> Can anyone englighten me why this would be the case? Is it feasible to
> create a unified event registration method; what are the issues?

The content of the event structure is not always serialized, and does depend 
on the event type. So I think you can't generate generic bindings.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list