mirror of https://github.com/mpv-player/mpv
ao: don't pass along AO arguments when redirecting
Only causes problems.
This commit is contained in:
parent
514af9fbd1
commit
fc79fd0474
|
@ -191,7 +191,7 @@ static struct ao *ao_init(bool probing, struct mpv_global *global,
|
|||
snprintf(rdevice, sizeof(rdevice), "%s", ao->device ? ao->device : "");
|
||||
talloc_free(ao);
|
||||
return ao_init(probing, global, input_ctx, encode_lavc_ctx,
|
||||
samplerate, format, channels, rdevice, redirect, args);
|
||||
samplerate, format, channels, rdevice, redirect, NULL);
|
||||
}
|
||||
goto fail;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue