Commandline option development

Xavier MAILLARD zedek at fxgsproject.org
Tue Jul 9 11:38:20 CEST 2002


Samuel Hocevar <sam at zoy.org> disait récemment que :

> 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.
>
This is what I did but apparently I have missed something because it
doesn't work for me. 

Will try to fix this before sending my patch

Cheers,

zeDek

-- 
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