Skip to content

Commit 878dfa2

Browse files
committed
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've been regressed by the previous commit
1 parent 78a6798 commit 878dfa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

player/command.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8027,7 +8027,8 @@ void mp_option_run_callback(struct MPContext *mpctx, struct mp_option_callback *
80278027
run_command_opts(mpctx);
80288028
}
80298029

8030-
if (opt_ptr == &opts->playback_speed || opt_ptr == &opts->playback_pitch) {
8030+
if (opt_ptr == &opts->playback_speed || opt_ptr == &opts->playback_pitch ||
8031+
opt_ptr == &opts->pitch_correction) {
80318032
update_playback_speed(mpctx);
80328033
mp_wakeup_core(mpctx);
80338034
}

0 commit comments

Comments
 (0)