diff options
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c index 2f084d90c4..83dbb72b9c 100644 --- a/player/video.c +++ b/player/video.c @@ -1097,7 +1097,11 @@ void write_video(struct MPContext *mpctx) } } - MP_DBG(mpctx, "video EOF (status=%d)\n", mpctx->video_status); + // Avoid pointlessly spamming the logs every frame. + if (!vo_c->is_sparse || !vo_c->sparse_eof_signalled) { + MP_DBG(mpctx, "video EOF (status=%d)\n", mpctx->video_status); + vo_c->sparse_eof_signalled = vo_c->is_sparse; + } return; } |