mirror of https://github.com/mpv-player/mpv
3108a3a001
Actually, it didn't really require that before (most work was avoided), but some bits had to be run anyway. Separate the speed change into a light-weight function, which merely updates already created filters, and a heavy-weight one which messes with filter insertion. This also happens to fix the case where the filters would "forget" the current speed (force resampling, change speed, hit a volume control to force af_volume insertion - it will reset speed and desync). Since we now always run the light-weight function, remove the af_scaletempo verbose message that is printed on speed setting. Other than that, all setters are cheap. |
||
---|---|---|
.. | ||
af.c | ||
af.h | ||
af_channels.c | ||
af_delay.c | ||
af_drc.c | ||
af_equalizer.c | ||
af_format.c | ||
af_lavcac3enc.c | ||
af_lavfi.c | ||
af_lavrresample.c | ||
af_pan.c | ||
af_rubberband.c | ||
af_scaletempo.c | ||
af_volume.c | ||
equalizer.h | ||
tools.c |