mirror of https://github.com/mpv-player/mpv
baead23ea0
This was _always_ called, even if the resampling was static, or the filter was inserted for format conversion only. This should have been fine, as I expected the function not to enable resampling when the compensation is unset, and the source/target rates are the same. But this is not the case, and it always enables resampling. So explicitly avoid the call. If we have already called it successfully, it's better not do avoid it (to overwrite the previous compensation value), but it will also be cheap/no-op then. Probably fixes #4716. |
||
---|---|---|
.. | ||
af.c | ||
af.h | ||
af_channels.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 |