1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/options
wm4 b45c17e5a9 m_option: add "B" suffix to human-readable byte numbers
The conversion to string as the pretty printer returns it is
sometimes used on OSD. I think it's pretty odd that quantities below 1
KB are shown as number without suffix. So use "B" for them.

For orthogonality, allow the same for parsing. (Although strictly
speaking, this is not a requirement of the option API. Option parsers
don't need to accept pretty-printed strings.)
2019-09-19 20:37:05 +02:00
..
m_config.c m_config: check for int16_t offset overflow 2018-05-31 01:24:51 +03:00
m_config.h m_config: remove outdated comment 2018-05-31 01:24:51 +03:00
m_option.c m_option: add "B" suffix to human-readable byte numbers 2019-09-19 20:37:05 +02:00
m_option.h m_option: remove an unused field 2018-05-31 01:24:51 +03:00
m_property.c command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
options.c options: rename --play-direction to --play-dir 2019-09-19 20:37:05 +02:00
options.h options: remove --chapter 2019-09-19 20:37:05 +02:00
parse_commandline.c Remove optical disc fancification layers 2019-09-13 17:31:59 +02:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c options/path: fix url detection per RFC3986 2019-04-05 20:48:24 +03:00
path.h path: don't access global option struct 2018-05-24 19:56:35 +02:00