diff options
author | wm4 <wm4@nowhere> | 2018-03-07 22:58:47 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-08 17:12:32 -0800 |
commit | f40e0cb0f21f0f322cdb74eb7582f63986d7dab5 (patch) | |
tree | 5f1cd89d7ec16ca3840da17c77e37e7dd96319e5 /wscript_build.py | |
parent | 5f41fbb6d931700d4bc7455ca7bf289d15d6d8eb (diff) | |
download | mpv-f40e0cb0f21f0f322cdb74eb7582f63986d7dab5.tar.bz2 mpv-f40e0cb0f21f0f322cdb74eb7582f63986d7dab5.tar.xz |
ao: do not allow actual buffer size of 0
You can use --audio-buffer=0 to minimize the audio buffer size. But if
the AO reports no device buffer size (like e.g. ao_jack does), then the
buffer size is actually 0, and playback can never work properly.
Make it fallback to a size of 1, which is unlikely to work properly, but
you get what you asked for, instead of a freeze.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions