[vlc-devel] commit: messages: Prefer the object name over the object type if type is VLC_GENERIC. ( Pierre d'Herbemont )

Antoine Cellerier dionoea at videolan.org
Mon Jul 7 00:30:00 CEST 2008


On Sun, Jul 06, 2008, Rémi Denis-Courmont wrote:
> AFAIK, psz_object_name is the name of the module that created the object (most 
> often, libvlccore a.k.a. "main"). psz_object_type is whatever type was passed 
> to vlc_object_create or vlc_custom_create.

You can also use a custom object name when loading a module via the
command line. For example --sub-filter marq will create an object named
"marq" (ie the module's name) while --sub-filter marq at pouet will create
an object named "pouet". (Which is usefull for variable callbacks when
you have more than one instance of the same filter for example)

-- 
Antoine Cellerier
dionoea



More information about the vlc-devel mailing list