diff options
author | wm4 <wm4@nowhere> | 2016-08-28 19:42:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-28 19:46:54 +0200 |
commit | f42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7 (patch) | |
tree | d5fd210634c38901cb5eaf97b8313647520a53b6 /options/m_config.h | |
parent | a9a55ea7f28894d9e72be5e8b2d5a9331f1e7be4 (diff) | |
download | mpv-f42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7.tar.bz2 mpv-f42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7.tar.xz |
command: export profile list as a property
Targeted at scripts, which can do whatever they want with it. This comes
with the promise that they could get randomly broken any time.
See #977.
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h index ed34389921..5937a4492e 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -247,6 +247,8 @@ int m_config_set_profile_option(struct m_config *config, struct m_profile *p, */ int m_config_set_profile(struct m_config *config, char *name, int flags); +struct mpv_node m_config_get_profiles(struct m_config *config); + void *m_config_alloc_struct(void *talloc_ctx, const struct m_sub_options *subopts); |