[vlc-devel] Re: RFC: refurbishing the configuration manager
massiot at via.ecp.fr
Tue Oct 8 15:35:35 CEST 2002
Samuel Hocevar <sam at zoy.org>:
> I would like to change a few things in the way config variables
> work. I'd especially like Gildas's opinion since he did most of the
> hard work in there and maybe I missed a few obvious things.
I have no specific comment about Sam's request, and anyway I'm no
specialist of our configuration scheme. However, I'd like to make sure
that a particular problem which we'll be having in the future is taken
My problem is, that many configuration variables which currently
relate to the libvlc object, should in fact relate to a specific input
file. I'm talking about configuring the audio channel, spu, program,
chapters, titles, codecs to use. In the future we'll have even many
more problems when the stream output is available, and a specific
program must be sent to a specific stream output, and another to the
Currenty, our policy has been to include all needed parameters in the
URL line. For instance in the VCD input, vcd:/dev/cdrom at title,chapter.
However, we'll have a lot of parameters added in the near future, and
we can't patch all URL parsers to include new parameters.
An idea could be to parse the command-line from left to right, and
associate URL strings to options which are passed before the URL.
I'm not sure of what it implies for the configuration API, and whether
sam's proposition helps. Just giving some feedback...
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel