diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-05-08 02:10:39 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-05-08 20:19:32 +0300 |
commit | 1e90a8657d19918dc7564f559b96dc3982286ba2 (patch) | |
tree | 1992e988e0328eb141b06cbb3ad180bbcf0f274d /DOCS | |
parent | 9fbfac25daaf6bdaab4c1213a294b59bded29b24 (diff) | |
download | mpv-1e90a8657d19918dc7564f559b96dc3982286ba2.tar.bz2 mpv-1e90a8657d19918dc7564f559b96dc3982286ba2.tar.xz |
options: simplify option parsing/setting machinery
Each option type had three separate operations to copy option values
between memory locations: copy between general memory locations
("copy"), copy from general memory to active configuration of the
program ("set"), and in the other direction ("save"). No normal option
depends on this distinction any more. Change everything to define and
use a single "copy" operation only. Change the special options
"include" and "profile", which depended on hacky option types, to be
special-cased directly in option parsing instead. Remove the now
unused option types m_option_type_func and m_option_type_func_param.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions