mirror of https://github.com/mpv-player/mpv
ao_wasapi: don't repeat format negotiation on align hack
Even if it did return a different result, the bufferFrameCount from the align hack would be wrong anyway.
This commit is contained in:
parent
71cc28b804
commit
4389ddcc34
|
@ -984,11 +984,14 @@ retry:
|
|||
EXIT_ON_ERROR(hr);
|
||||
}
|
||||
|
||||
// In the event of an align hack, we've already done this.
|
||||
if (!align_hack) {
|
||||
MP_DBG(ao, "Probing formats\n");
|
||||
if (!find_formats(ao)) {
|
||||
hr = E_FAIL;
|
||||
EXIT_ON_ERROR(hr);
|
||||
}
|
||||
}
|
||||
|
||||
MP_DBG(ao, "Fixing format\n");
|
||||
hr = fix_format(ao, align_hack);
|
||||
|
|
Loading…
Reference in New Issue