Command line or config file?

This forum is about all development around libVLC.
kostyan
Blank Cone
Blank Cone
Posts: 34
Joined: 15 Jun 2012 12:07
VLC version: 2.1.0-git
Operating System: Linux
Location: Berlin, Germany

Command line or config file?

Postby kostyan » 08 Oct 2012 17:00

Is it possible to find out if a variable of an access module was set via command line or via predefined default value?

I want to give higher priority to variable values specified on the command line rather than in the configuration file, but in order for this to work, I need to know if a variable was set on the command line or not.
Konstantin Miller
Technische Universität Berlin

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Command line or config file?

Postby Jean-Baptiste Kempf » 08 Oct 2012 18:39

Isn't that the default behaviour anyway?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kostyan
Blank Cone
Blank Cone
Posts: 34
Joined: 15 Jun 2012 12:07
VLC version: 2.1.0-git
Operating System: Linux
Location: Berlin, Germany

Re: Command line or config file?

Postby kostyan » 09 Oct 2012 07:32

In fact, I was thinking about using a separate configuration file just for my module, but probably you are right and I should use the VLC configuration file instead.
Konstantin Miller
Technische Universität Berlin


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests