Commandline option development
Samuel Hocevar
sam at zoy.org
Tue Jul 9 11:39:57 CEST 2002
On Tue, Jul 09, 2002, Xavier MAILLARD wrote:
> Unfortunetly, this is not what I was talking about. What I want is to be
> able to parse my own options contained in the command line.
>
> For example let's I want to use xinerama on the first screen would be
> something like that :
> vlc --xinerama 0
This is exactly what Gildas explained. Create a boolean variable
called "xinerama" with the scheme in configuration.h, and vlc will
automatically recognize the --xinerama and --noxinerama flags. You can
then retrieve the value of the "xinerama" variable using config_GetInt.
--
Sam.
--
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
mailing list