]> git.sesse.net Git - vlc/commitdiff
Document module_Need's side effect on the object name.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 6 Sep 2008 13:12:07 +0000 (15:12 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 6 Sep 2008 13:12:46 +0000 (15:12 +0200)
src/modules/modules.c

index 84f30d92c26bb307268738f71960b56919f00daf..999c1e455b5cb0efa84c0b4e108977ff90cc7275 100644 (file)
@@ -328,6 +328,12 @@ const char *module_GetHelp( const module_t *m )
  * module Need
  *
  * Return the best module function, given a capability list.
+ *
+ * If the p_this object doesn't have it's psz_object_name set, then
+ * psz_object_name will be set to the module's name, unless the user
+ * provided an alias using the "module name@alias" syntax in which case
+ * psz_object_name will be set to the alias.
+ *
  * \param p_this the vlc object
  * \param psz_capability list of capabilities needed
  * \param psz_name name of the module asked