mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 20:00:37 +00:00
ao_wasapi0: Don't fail init when listing devices
This commit is contained in:
parent
44f699da0d
commit
4cf1fc678f
@ -1049,8 +1049,6 @@ static int init(struct ao *ao, char *params)
|
|||||||
|
|
||||||
if (state->opt_list) {
|
if (state->opt_list) {
|
||||||
enumerate_devices();
|
enumerate_devices();
|
||||||
mp_msg(MSGT_AO, MSGL_WARN, "ao-wasapi: devices listed, cancelling init\n");
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state->opt_exclusive) {
|
if (state->opt_exclusive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user