[vlc-devel] [PATCH] QT4 Service Discovery check if loaded

Rémi Denis-Courmont remi at remlab.net
Wed May 26 18:15:43 CEST 2010


Le mercredi 26 mai 2010 13:42:30 Konstanty Bialkowski, vous avez écrit :
> The name retrieved from QT's "QString qs = item->data( 0, NAME_ROLE
> ).toString();" is
> upnp_intel{longname="U'pnp......"} and not upnp_intel. (and likewise
> for the other modules).

To me, this looks like a bug in the Qt interface, not the core.

Also, IsServicesDiscoveryLoaded() is broken by design due to concurrency. 
Therefore, it should really only be used an a hint, not as an authoritative 
answer. In practical terms, it is suitable to show a check mark next to the 
same of a service in the UI. It is NOT suitable to determine whether a certain 
SD plugin should be started or not.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list