diff options
author | wm4 <wm4@nowhere> | 2020-01-04 21:12:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-04 21:12:29 +0100 |
commit | d26b5daf3ed32136540d39614afe7ef631a1319f (patch) | |
tree | e8859fd59636bd00d7e02f252ce8e9a5fa9d4307 /options/m_config.h | |
parent | 1b0129c4143fe73ef0ee3c3f1e2bed734c374d40 (diff) | |
download | mpv-d26b5daf3ed32136540d39614afe7ef631a1319f.tar.bz2 mpv-d26b5daf3ed32136540d39614afe7ef631a1319f.tar.xz |
command: make sub-step command actually apply sub-delay change properly
The change was not propagated to the OSD/subtitle code, since that still
uses an "old" method. Change it so that the propagation is actually
performed.
(One could argue the OSD/subtitle code should use other ways to update
the options, but that would probably be more effort for now.)
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h index 25d26e05ee..862d40c3a3 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -196,6 +196,10 @@ int m_config_option_requires_param(struct m_config *config, bstr name); // This will force a self-notification back to config->option_change_callback. void m_config_notify_change_opt_ptr(struct m_config *config, void *ptr); +// Exactly like m_config_notify_change_opt_ptr(), but the option change callback +// (config->option_change_callback()) is invoked with self_update=false, if at all. +void m_config_notify_change_opt_ptr_notify(struct m_config *config, void *ptr); + // Return all (visible) option names as NULL terminated string list. char **m_config_list_options(void *ta_parent, const struct m_config *config); |