1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
nexus
e63cca8d2b FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7880 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 20:04:22 +00:00
arpi
4aeac332f6 Fixed a bug in MPlayer which would prevent proper parsing of
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
2002-10-23 17:42:12 +00:00
atmos4
496963471f strtod is locale-dependant, so it may only accept either '.' or ',' as 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
2002-10-06 05:54:12 +00:00
arpi
cfbf4a19d7 accept empty strings too for STRING_LIST (example: "-xyz 1,2.5,,4," )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7504 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-26 00:28:32 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
atmos4
a63ea1a018 Improved MacOS X SDL support, enable SDL main() wrapper for Darwin, remove 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
2002-08-31 15:04:18 +00:00
arpi
39f2bf39d5 new mencoder option -info, to store copyright, title, encoder version etc in AVI
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
2002-08-29 20:50:49 +00:00
alex
e70976de89 64-bit -sb offsets patch by Andy Goth <unununium@openverse.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7115 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 16:55:40 +00:00
albeu
5a7be363f5 mp_msg level fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5935 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:43:27 +00:00
jaf
ee340fe3aa mplayer/mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5786 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-22 14:27:53 +00:00
albeu
152a7563a7 Add correct loop option parsing in command line parser.
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
2002-04-17 12:23:52 +00:00
albeu
366c057ac4 New string list option type
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
2002-03-20 09:45:39 +00:00
alex
f102cdf14f changed printf's to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5116 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 22:42:28 +00:00
albeu
11ea8307e4 New option use-stdin to use when stdin will be used as a file
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
2002-02-28 13:47:06 +00:00
atmos4
4707cff644 remove uneeded assert (common case at eof)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4772 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-20 22:41:54 +00:00
pl
52db9b039a avoids warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4385 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 17:21:20 +00:00
albeu
5fafd19ee2 Bug fix for subconfig option. A -tv option containing the on parameter
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
2002-01-21 10:45:53 +00:00
albeu
5899d5ea03 Some improvment and make -vcd -dvd options considered as playlist entry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4269 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 22:16:47 +00:00
albeu
c78615bc71 Few bug fix and improvment in config/playtree system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 16:58:04 +00:00
albeu
6118582726 Fixed a few bugs and added support for VCD/DVD/TV in playlist using virtual url
like dvd://1 vcd://2 tv://5


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 20:24:28 +00:00
arpi
ef4a38a54e playtree-based config patch by Alban Bedel <albeu@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4157 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 23:38:49 +00:00
alex
59dd498f38 fixed subconfig parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3762 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 13:15:44 +00:00
alex
e99c45c97d subconfig fix (if sscanf()==1, then null out second (non-present) parameter) and some errormessage fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3685 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 21:18:06 +00:00
pl
7139cf3408 missing 1 byte in array size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3614 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:15:49 +00:00
alex
0df95143a8 exchanged return with goto out in subconfig parsing and fixed error messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3560 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 15:50:36 +00:00
alex
0386dee16e fixed commandline bug: handling '-' as option when '--' unused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2651 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-03 19:04:58 +00:00
alex
23e7685c8d partly upgraded to mp_msg and fixed minor bug in parse_command_line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2625 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 02:55:51 +00:00
alex
f8d244aa0c fixed fault with --help
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2624 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 02:21:57 +00:00
alex
9d6aa3b64d fixed subconfig, exiting on error, supporting flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2622 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 02:02:52 +00:00
alex
10ae261da7 subconfig support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2620 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 01:31:27 +00:00
alex
60ff845221 fixed arpi's cfgparser bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2616 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 00:25:28 +00:00
szabi
d618193913 fix error reporting bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2381 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-22 20:22:25 +00:00
atmos4
813e82a7ea New aspect prescale code, parses aspect value from mpeg sequence header or 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
2001-10-01 15:58:31 +00:00
arpi
4f2a70c85c multifile support in config parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1630 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-22 19:29:47 +00:00
folke
5663ecf375 New feature for option processing: CONF_TYPE_FUNC_FULL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1537 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 19:26:22 +00:00
jkeil
796cc66970 fix gcc-3.0 warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1305 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:08:02 +00:00
szabii
68d53c538e erm...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1094 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-11 00:12:09 +00:00
szabii
d646cfabf3 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1091 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-10 23:40:20 +00:00
szabii
d4239d7b1e some fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1090 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-10 23:06:44 +00:00
szabii
823dfcfc39 fix again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1078 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-09 17:41:31 +00:00
szabii
39f05c8c2a : No such... fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1076 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-09 17:30:40 +00:00
szabii
47c9dcec30 rude fix of ": No such file or directory"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1063 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-09 00:00:57 +00:00
lgb
01d07326bb Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@962 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-03 01:46:28 +00:00
szabii
871b819db0 now it accepts monitor_hfreq...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@481 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-16 22:13:12 +00:00
szabii
ac106f89b4 less output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@337 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-11 00:17:08 +00:00
szabii
83a5430364 strto* int/float reader
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@196 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-22 18:52:45 +00:00
szabii
2b80db65e3 fix TYPE_FLOAT parameter reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@192 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-22 15:25:28 +00:00
szabii
2186305c47 fix...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@180 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-21 02:56:06 +00:00
szabii
42e933e8d4 ... :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@178 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-20 22:55:50 +00:00
szabii
caf48a3f5d parameter can be in quotes in config file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@168 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-19 21:58:20 +00:00