[vlc-devel] Proper way to call var_SetInteger

Rémi Denis-Courmont remi at remlab.net
Thu Mar 29 09:01:23 CEST 2012

On Wed, 28 Mar 2012 13:36:54 -0700 (PDT), Peter Tap <ptrtap at yahoo.com>
> Anyone?
> I know that the UI module is doing this all the time. When you go to
> preferences dialog, any value you set goes through var_SetXXX method. I
> just couldn't figure out how the UI is able to get hold of the right
> object.

There are functions to access _certain_ objects in _certain_ cases. You
can get all video outputs objects and the audio output object from an input
object, for instance.

For the umpteenth time, there is no generic way to get an object. That
wouldn't even make sense.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list