From d26b5daf3ed32136540d39614afe7ef631a1319f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Jan 2020 21:12:29 +0100 Subject: 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.) --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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 { -- cgit v1.2.3