summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/out/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/buffer.c b/audio/out/buffer.c
index c69ef6d813..dc053c3e2c 100644
--- a/audio/out/buffer.c
+++ b/audio/out/buffer.c
@@ -632,7 +632,7 @@ static void ao_play_data(struct ao *ao)
bool ok = true;
int written = 0;
if (samples) {
- p->draining = is_eof;
+ p->draining |= is_eof;
MP_STATS(ao, "start ao fill");
ok = ao->driver->write(ao, planes, samples);
MP_STATS(ao, "end ao fill");