[vlc-devel] Re: a new command line option

Ariel Fritz duin at tutopia.com
Mon Aug 11 19:51:24 CEST 2003

On Monday 11 August 2003 14:30, you wrote:
> > I'd like to know how can I add a new argument for vlc. I mean, If I want
> > to send a new command line argument what do I have to add in the src code
> > of vlc?
> Hello,
> If your option is specific to a module, then you can do
> this by adding : add_'type of option'(;......) in the
> vlc_module_begin()...vlc_module_end() block.
> You then get the value with config_GetType...
> For a global one, you will have to add the same command add_foo, in
> src/libvlc.h

Thanks for information..

For example.. If I want to send an argument that it can be used as an integer

vlc --3

How can I add it?

> Regards,

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list