[vlc-devel] vlc: svn commit r25242 (damienf)

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu Feb 21 15:51:48 CET 2008


> libvlc: document that libvlc_new() MUST have a program path in argv[0]
>From my point of view, using argv[0] to deduce module paths is a lame
hack, and should be removed in favor of an explicit way of setting this
(for instance, the --plugin-path option already allows to pass a
directory to search for plugins).

An API is intended to provide some level of abstraction over its
internal mechanism. The argv[0] is an internal mechanism, which should
be abstracted.

Olivier




More information about the vlc-devel mailing list