diff options
author | wm4 <wm4@nowhere> | 2012-09-18 15:31:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:10:31 +0200 |
commit | 69ce4591d09f1fda85c6a71d452d26a2712cda4e (patch) | |
tree | 27284241b989d6d78710151617f98c698b4f6b69 /DOCS | |
parent | f607d104b60b48cd293fbc057ba0a4ddaf9f8a73 (diff) | |
download | mpv-69ce4591d09f1fda85c6a71d452d26a2712cda4e.tar.bz2 mpv-69ce4591d09f1fda85c6a71d452d26a2712cda4e.tar.xz |
commands: generally handle property formatting with m_option
Use the m_option code by default to format property values, instead of
having separate code in m_property.
To facilitate that, add a pretty_print callback to option types. These
format values in a more human readable and user friendly way, as opposed
to the print callback, which produces parseable values.
This also changes the strings used with flags. Instead of "enabled" and
"disabled", flags are formatted as "yes" and "no". (We could use the
pretty_print callback to deal with this, but we don't for consistency.)
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions