mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
af_lavrresample: fix inverted condition
This was added with the previous commit. It likely broke some obscure special-cases, which (hopefully) do not happen with normal playback.
This commit is contained in:
parent
279f4b59dc
commit
636e1edd9e
@ -327,7 +327,7 @@ static struct mp_audio *play(struct af_instance *af, struct mp_audio *data)
|
||||
s->ctx.out_rate, s->ctx.in_rate,
|
||||
AV_ROUND_UP);
|
||||
|
||||
#if USE_SET_CHANNEL_MAPPING
|
||||
#if !USE_SET_CHANNEL_MAPPING
|
||||
reorder_channels(data->audio, s->reorder_in, data->bps, data->nch, in_samples);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user