[vlc-devel] In vlc_object_find_name what is the parameter p_this?

Antoine Cellerier dionoea at videolan.org
Wed Apr 23 16:54:37 CEST 2008

On Wed, Apr 23, 2008, R?mi Denis-Courmont wrote:
> vlc_object_find() is generally a bad idea, and vlc_object_find_name() is 
> generally a terrible idea.

Well then how do you suggest finding the object which you want to
update? The current API only allows doing that through variable
callbacks which explicitly need the object pointer to be called.
It's not like calling strcmp 20 times every several seconds/minutes is
going to lead to a big performance impact.

(I agree with you that the current implementation in O(n) of our object
finding routines isn't optimal ... but for our uses it's more than

Antoine Cellerier

More information about the vlc-devel mailing list