summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-01-04 21:12:29 +0100
committerwm4 <wm4@nowhere>2020-01-04 21:12:29 +0100
commitd26b5daf3ed32136540d39614afe7ef631a1319f (patch)
treee8859fd59636bd00d7e02f252ce8e9a5fa9d4307 /player/command.c
parent1b0129c4143fe73ef0ee3c3f1e2bed734c374d40 (diff)
downloadmpv-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 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 0a17a1def4..f95762395a 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4732,7 +4732,7 @@ static void cmd_sub_step_seek(void *p)
if (sub_control(sub, SD_CTRL_SUB_STEP, a) > 0) {
if (step) {
mpctx->opts->subs_rend->sub_delay -= a[0] - refpts;
- m_config_notify_change_opt_ptr(mpctx->mconfig,
+ m_config_notify_change_opt_ptr_notify(mpctx->mconfig,
&mpctx->opts->subs_rend->sub_delay);
show_property_osd(mpctx, "sub-delay", cmd->on_osd);
} else {