aboutsummaryrefslogtreecommitdiffhomepage
path: root/cfgparser.c
Commit message (Collapse)AuthorAge
* fixed 'mplayer -nosound xxx' sig11 if configfile have string list optionsGravatar arpi2002-12-06
| | | | | | | (actually there was one dword less allocated... and so got corrupted) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8385 b3059339-0415-0410-9bf9-f77b7e298cf2
* New config system + cleanup of header inter dependencyGravatar albeu2002-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalGravatar arpi2002-11-06
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* FreeBSD fixGravatar nexus2002-10-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a bug in MPlayer which would prevent proper parsing ofGravatar arpi2002-10-23
| | | | | | | | | | | some floating point options when the locale used has a decimal point other than the dot character ("."). My patch inserts calls to setlocale around float parsing functions strtod() and atof() in cfgparser.c and input/input.c. patch by Aleksander Adamowski <olo@altkom.com.pl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7871 b3059339-0415-0410-9bf9-f77b7e298cf2
* strtod is locale-dependant, so it may only accept either '.' or ',' as ↵Gravatar atmos42002-10-06
| | | | | | | | | | decimal point, we do now make sure both works by providing a fallback. If anyone knows a better/simpler algorithmn than I used, feel free to improve. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7612 b3059339-0415-0410-9bf9-f77b7e298cf2
* accept empty strings too for STRING_LIST (example: "-xyz 1,2.5,,4," )Gravatar arpi2002-09-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7504 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugGravatar arpi2002-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved MacOS X SDL support, enable SDL main() wrapper for Darwin, remove ↵Gravatar atmos42002-08-31
| | | | | | | | | unused envp. Patch by Donnie Smith <xc0bead2d8130df59@f4n.org>, updated by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7202 b3059339-0415-0410-9bf9-f77b7e298cf2
* new mencoder option -info, to store copyright, title, encoder version etc in AVIGravatar arpi2002-08-29
| | | | | | | based on patch by "Andriy N. Gritsenko" <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7146 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64-bit -sb offsets patch by Andy Goth <unununium@openverse.com>Gravatar alex2002-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7115 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg level fixGravatar albeu2002-05-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5935 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer/mencoderGravatar jaf2002-04-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add correct loop option parsing in command line parser.Gravatar albeu2002-04-17
| | | | | | | | | Reset the config while looping inside a file You can now define GLOBAL_OPTIONS_ONLY in your config.h to have only global options (ie no per file option) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5656 b3059339-0415-0410-9bf9-f77b7e298cf2
* New string list option typeGravatar albeu2002-03-20
| | | | | | | A -list-options option to get a list of all avaible options git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5216 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed printf's to mp_msgGravatar alex2002-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5116 b3059339-0415-0410-9bf9-f77b7e298cf2
* New option use-stdin to use when stdin will be used as a fileGravatar albeu2002-02-28
| | | | | | | Auto enable use-stdin when - is in the command line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4891 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove uneeded assert (common case at eof)Gravatar atmos42002-02-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4772 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoids warningsGravatar pl2002-01-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bug fix for subconfig option. A -tv option containing the on parameterGravatar albeu2002-01-21
| | | | | | | | is now take as an entry. New functions to set/get options and know if an option is alredy set. A few comments. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4293 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some improvment and make -vcd -dvd options considered as playlist entryGravatar albeu2002-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Few bug fix and improvment in config/playtree systemGravatar albeu2002-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4255 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a few bugs and added support for VCD/DVD/TV in playlist using virtual urlGravatar albeu2002-01-17
| | | | | | | like dvd://1 vcd://2 tv://5 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4221 b3059339-0415-0410-9bf9-f77b7e298cf2
* playtree-based config patch by Alban Bedel <albeu@free.fr>Gravatar arpi2002-01-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4157 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed subconfig parserGravatar alex2001-12-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3762 b3059339-0415-0410-9bf9-f77b7e298cf2
* subconfig fix (if sscanf()==1, then null out second (non-present) parameter) ↵Gravatar alex2001-12-23
| | | | | | and some errormessage fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3685 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing 1 byte in array sizeGravatar pl2001-12-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3614 b3059339-0415-0410-9bf9-f77b7e298cf2
* exchanged return with goto out in subconfig parsing and fixed error messagesGravatar alex2001-12-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3560 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed commandline bug: handling '-' as option when '--' unusedGravatar alex2001-11-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2651 b3059339-0415-0410-9bf9-f77b7e298cf2
* partly upgraded to mp_msg and fixed minor bug in parse_command_lineGravatar alex2001-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2625 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed fault with --helpGravatar alex2001-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2624 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed subconfig, exiting on error, supporting flagsGravatar alex2001-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2622 b3059339-0415-0410-9bf9-f77b7e298cf2
* subconfig supportGravatar alex2001-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2620 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed arpi's cfgparser bugGravatar alex2001-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2616 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix error reporting bugGravatar szabi2001-10-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2381 b3059339-0415-0410-9bf9-f77b7e298cf2
* New aspect prescale code, parses aspect value from mpeg sequence header or ↵Gravatar atmos42001-10-01
| | | | | | | | | | | commandline. Removed X11_FULLSCREEN hack from mplayer.c and moved it to libvo/vo_xv.c. Added support for nominator[:/]denominator float values in cfg-parser, thanks for the code by Steve Davies. All around thanks to Steve for helping me understanding the whole stuff :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2032 b3059339-0415-0410-9bf9-f77b7e298cf2
* multifile support in config parserGravatar arpi2001-08-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1630 b3059339-0415-0410-9bf9-f77b7e298cf2
* New feature for option processing: CONF_TYPE_FUNC_FULLGravatar folke2001-08-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1537 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix gcc-3.0 warningGravatar jkeil2001-07-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1305 b3059339-0415-0410-9bf9-f77b7e298cf2
* erm...Gravatar szabii2001-06-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1094 b3059339-0415-0410-9bf9-f77b7e298cf2
* bugfixGravatar szabii2001-06-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1091 b3059339-0415-0410-9bf9-f77b7e298cf2
* some fixGravatar szabii2001-06-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1090 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix againGravatar szabii2001-06-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1078 b3059339-0415-0410-9bf9-f77b7e298cf2
* : No such... fixGravatar szabii2001-06-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1076 b3059339-0415-0410-9bf9-f77b7e298cf2
* rude fix of ": No such file or directory"Gravatar szabii2001-06-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1063 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removing annoying 'Reading config file ...' message when you run without ↵Gravatar lgb2001-06-03
| | | | | | verbose mode (-v) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@962 b3059339-0415-0410-9bf9-f77b7e298cf2
* now it accepts monitor_hfreq...Gravatar szabii2001-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@481 b3059339-0415-0410-9bf9-f77b7e298cf2
* less outputGravatar szabii2001-04-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@337 b3059339-0415-0410-9bf9-f77b7e298cf2
* strto* int/float readerGravatar szabii2001-03-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@196 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix TYPE_FLOAT parameter readingGravatar szabii2001-03-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@192 b3059339-0415-0410-9bf9-f77b7e298cf2