mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
ao: don't pass along AO arguments when redirecting
Only causes problems.
This commit is contained in:
@@ -191,7 +191,7 @@ static struct ao *ao_init(bool probing, struct mpv_global *global,
|
|||||||
snprintf(rdevice, sizeof(rdevice), "%s", ao->device ? ao->device : "");
|
snprintf(rdevice, sizeof(rdevice), "%s", ao->device ? ao->device : "");
|
||||||
talloc_free(ao);
|
talloc_free(ao);
|
||||||
return ao_init(probing, global, input_ctx, encode_lavc_ctx,
|
return ao_init(probing, global, input_ctx, encode_lavc_ctx,
|
||||||
samplerate, format, channels, rdevice, redirect, args);
|
samplerate, format, channels, rdevice, redirect, NULL);
|
||||||
}
|
}
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user