mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
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:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user