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

Rémi Denis-Courmont rdenis at simphalempin.com
Sun Jul 6 18:38:34 CEST 2008


Le dimanche 6 juillet 2008 19:29:00 Pierre d'Herbemont, vous avez écrit :
> The only object to have (psz_objet_type != i_type) is the "http server".

No. Any object created with vlc_custom_create does.

> > Now I get stupid looking messages like:
> > [00000331] access_mmap access_mmap debug: at end of memory mapped file
> > [00000336] playlist playlist debug: parsed 0 tracks successfully
>
> Hum. Embarrassing.
>
> I think I'll revert, and fix the object type.
>
> But then, what's the difference between object_name and object_type?

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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list