mpv/options
wm4 9ea0590371 options: rewrite config file parser
The format doesn't change. Some details are different, though. For
example, it will now accept option values with spaces even if they're
not quoted. (I see no reason why the user should be forced to add
quotes.)

The code is now smaller and should be much easier to extend. It also
can load config from in-memory buffers, which might be helpful in the
future.

read_file() should eventually be replaced with stream_read_complete().
But since the latter function may access options under various
circumstances, and also needs access to the mpv_global struct, there
is a separate implementation for now.
2015-04-04 01:04:04 +02:00
..
m_config.c options: rewrite config file parser 2015-04-04 01:04:04 +02:00
m_config.h options: add slightly more sophistcated mechanism for option deprecation 2014-12-11 01:04:15 +01:00
m_option.c video: cleanup stereo mode parsing 2015-04-02 23:54:08 +02:00
m_option.h video: cleanup stereo mode parsing 2015-04-02 23:54:08 +02:00
m_property.c m_property: memcpy(ptr, NULL, 0) is undefined 2015-03-23 18:02:28 +01:00
m_property.h
options.c video: cleanup stereo mode parsing 2015-04-02 23:54:08 +02:00
options.h video: move colorspace overrides to vf_format, simplify 2015-03-31 00:09:03 +02:00
parse_commandline.c parse_commandline: fail gracefully on bad args 2015-03-29 13:44:34 +02:00
parse_commandline.h player: minor simplification 2015-03-05 10:57:38 +01:00
parse_configfile.c options: rewrite config file parser 2015-04-04 01:04:04 +02:00
parse_configfile.h
path.c win32: fix some more -Wparentheses warnings 2015-03-04 17:28:41 +01:00
path.h player: undeprecate 'config' files 2015-02-15 14:28:49 +01:00