summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-03-14 15:55:42 +0100
committerwm4 <wm4@nowhere>2017-03-14 15:55:42 +0100
commitd606b6af178d5bb3b53628fd859416139597deff (patch)
treeb0b9b1d41b9f3094821f62caa6bb2cd1f444a5b6 /player/audio.c
parent2827a615dc80674770ef38f3cd9bd07d902ef476 (diff)
downloadmpv-d606b6af178d5bb3b53628fd859416139597deff.tar.bz2
mpv-d606b6af178d5bb3b53628fd859416139597deff.tar.xz
player: specifically log audio EOF too
Diffstat (limited to 'player/audio.c')
-rw-r--r--player/audio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index e1766143b9..d15f4e9869 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -1105,8 +1105,10 @@ void fill_audio_out_buffers(struct MPContext *mpctx)
// we trigger EOF immediately, and let it play asynchronously.
if (ao_eof_reached(mpctx->ao) || opts->gapless_audio) {
mpctx->audio_status = STATUS_EOF;
- if (!was_eof)
+ if (!was_eof) {
+ MP_VERBOSE(mpctx, "audio EOF reached\n");
mp_wakeup_core(mpctx);
+ }
}
}
}