diff options
author | wm4 <wm4@nowhere> | 2012-11-17 19:58:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:15 +0100 |
commit | d23b620a89e88b0ec0d6a66c7f05c2e461579647 (patch) | |
tree | 1d0719823527f5789aab4ae26cfa4ddcf72d9096 /version.sh | |
parent | dcd2435e795eefe687c23b5b74da430525ad8c00 (diff) | |
download | mpv-d23b620a89e88b0ec0d6a66c7f05c2e461579647.tar.bz2 mpv-d23b620a89e88b0ec0d6a66c7f05c2e461579647.tar.xz |
m_option: add color option type
This accepts HTML-style hex colors in the form #RRGGBB. It's also
possible to provide an alpha component with #AARRGGBB. Each 2-digit
group is a hex number, which gives the color value from 0-255 (e.g.
There is existing code in subassconvert.c, which parses HTML-style
color values in SRT subs. This is not used: it's probably better if
option parsing is completely separate from code specific to certain
subtitle formats, even if a little code is duplicated.
Diffstat (limited to 'version.sh')
0 files changed, 0 insertions, 0 deletions