diff options
author | wm4 <wm4@nowhere> | 2015-04-04 00:02:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-04 01:04:04 +0200 |
commit | 9ea0590371814f8ce1168056ee2fb228d9b30673 (patch) | |
tree | 95594b99ff113646ca01717cde0d2d5450ec46e0 /DOCS | |
parent | bf3e0bc1dad8a51e60494388e3559c9bb5f1d7e5 (diff) | |
download | mpv-9ea0590371814f8ce1168056ee2fb228d9b30673.tar.bz2 mpv-9ea0590371814f8ce1168056ee2fb228d9b30673.tar.xz |
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.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions