mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
options: pretty print default values with --list-options
This commit is contained in:
parent
8b3306924d
commit
1742614505
@ -1032,7 +1032,7 @@ void m_config_print_option_list(const struct m_config *config, const char *name)
|
||||
}
|
||||
char *def = NULL;
|
||||
if (co->default_data)
|
||||
def = m_option_print(opt, co->default_data);
|
||||
def = m_option_pretty_print(opt, co->default_data);
|
||||
if (def) {
|
||||
MP_INFO(config, " (default: %s)", def);
|
||||
talloc_free(def);
|
||||
|
Loading…
Reference in New Issue
Block a user