summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-31 00:41:54 +0100
committerwm4 <wm4@nowhere>2014-01-31 00:41:54 +0100
commit36f6e6b82677fb19374995ffb88cf76975ef2b5a (patch)
treebacb68b02a8c50672832fb4f5664ce3fe21d4670 /options/options.c
parent5c8ec31ba3c838c6047791a1dba2246745112b19 (diff)
downloadmpv-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 'options/options.c')
0 files changed, 0 insertions, 0 deletions