From ddd0fc0bebbf087c8993dec90e74c02506a52de5 Mon Sep 17 00:00:00 2001 From: llyyr Date: Thu, 23 Oct 2025 15:07:05 +0530 Subject: [PATCH] player/command: update speed filters for pitch-correction change too Fixes #16947 for both audio only files as well as for files with video which would only accidentally worked. See next commit --- player/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/command.c b/player/command.c index 67ad87c6e3..a636297b74 100644 --- a/player/command.c +++ b/player/command.c @@ -8027,7 +8027,8 @@ void mp_option_run_callback(struct MPContext *mpctx, struct mp_option_callback * run_command_opts(mpctx); } - if (opt_ptr == &opts->playback_speed || opt_ptr == &opts->playback_pitch) { + if (opt_ptr == &opts->playback_speed || opt_ptr == &opts->playback_pitch || + opt_ptr == &opts->pitch_correction) { update_playback_speed(mpctx); mp_wakeup_core(mpctx); }