mirror of https://github.com/mpv-player/mpv
player: specifically log audio EOF too
This commit is contained in:
parent
2827a615dc
commit
d606b6af17
|
@ -1105,11 +1105,13 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Drop data queued for output, or which the AO is currently outputting.
|
||||
void clear_audio_output_buffers(struct MPContext *mpctx)
|
||||
|
|
Loading…
Reference in New Issue