summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-19 22:14:23 +0100
committerwm4 <wm4@nowhere>2013-11-19 22:14:23 +0100
commitb14a7da5d4a2c9db59aa41c36efa81e63c95d801 (patch)
tree9992177d1f44d73d772175cf7f63134cfff2646e
parent85f6349c78804ea662606fc859d2f376bfdfe606 (diff)
downloadmpv-b14a7da5d4a2c9db59aa41c36efa81e63c95d801.tar.bz2
mpv-b14a7da5d4a2c9db59aa41c36efa81e63c95d801.tar.xz
ao_null: fix simulated buffer size
The size accidentally defaulted to 200 seconds instead of 200 milliseconds, which had fatal consequences when trying to use it.
-rw-r--r--audio/out/ao_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_null.c b/audio/out/ao_null.c
index 4153a13e44..14ff16b5d7 100644
--- a/audio/out/ao_null.c
+++ b/audio/out/ao_null.c
@@ -182,7 +182,7 @@ const struct ao_driver audio_out_null = {
.resume = resume,
.priv_size = sizeof(struct priv),
.priv_defaults = &(const struct priv) {
- .bufferlen = 200,
+ .bufferlen = 0.2,
.outburst = 256,
},
.options = (const struct m_option[]) {