diff options
author | wm4 <wm4@nowhere> | 2014-01-31 00:41:54 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-31 00:41:54 +0100 |
commit | 36f6e6b82677fb19374995ffb88cf76975ef2b5a (patch) | |
tree | bacb68b02a8c50672832fb4f5664ce3fe21d4670 /common/global.h | |
parent | 5c8ec31ba3c838c6047791a1dba2246745112b19 (diff) | |
download | mpv-36f6e6b82677fb19374995ffb88cf76975ef2b5a.tar.bz2 mpv-36f6e6b82677fb19374995ffb88cf76975ef2b5a.tar.xz |
options: alternative way to specify color options
Try to make it more intuitive by not requiring hex values. The new way
uses float values in the range 0.0-1.0, separated by '/' (':' was
suggested, but that wouldn't allow color options in sub-options).
Example: --osd-color=1.0/0.0/0.0/0.75
Using the range 0.0-1.0 has the advantage that it could be easily
extended to colors beyond 8 bit.
Details see manpage.
Suggestions for alternative syntax or value ranges are welcome, but be
quick with it.
Diffstat (limited to 'common/global.h')
0 files changed, 0 insertions, 0 deletions