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
This commit is contained in:
llyyr
2025-11-26 19:18:25 +00:00
committed by Dudemanguy
parent 57d9d4eb42
commit ddd0fc0beb
+2 -1
View File
@@ -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);
}