[vlc-devel] libvlc internal state change events ?

Rémi Denis-Courmont remi at remlab.net
Mon Dec 27 19:20:44 CET 2010


Hello,

----- Message d'origine -----
> Is there any way to get asynchronous notifications of internal states change
> in libvlc ?

The whole point of libvlc is to hide the dirty internals. So obviously, there is not.

> ( when a module is added/activated or removed )

That does not make sense. By design, it is a matter for the plugin API, definitely not the external API.

Indeed we dont want the libvlc API to depend expose and therefore to freeze the core/plugin work split, nor the different types of plugins.

> Is there any other way to detect a module activation than requiring an event
> to be fired (*) by core ? (thus not requiring adding a manager at core level)

I think this should not exist anyway. It would be useless due to thread-safety constraints. Refer to the old DBus plugin topic on thread problems for details.

-- 
Rémi



More information about the vlc-devel mailing list