summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-14 14:36:15 +0200
committerwm4 <wm4@nowhere>2015-04-14 14:36:15 +0200
commitd8a0356b3bf8751938da7696b49da25bce5cd791 (patch)
treec88a0854aeceaecbd0f0af4e5b28d55cd055f27c
parent0ded54dd89b6ac8fa5fe6caf6e26bd7e9342ab84 (diff)
downloadmpv-d8a0356b3bf8751938da7696b49da25bce5cd791.tar.bz2
mpv-d8a0356b3bf8751938da7696b49da25bce5cd791.tar.xz
player: silence spam in verbose mode when playing audio with cover art
When playing cover art, it conceptually reaches EOF as soon as the image was put on the VO, causing the EOF message to be repeated every time new audio was decoded. Just silence the message.
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 6c41593c72..2d3840b6b3 100644
--- a/player/video.c
+++ b/player/video.c
@@ -784,7 +784,7 @@ void write_video(struct MPContext *mpctx, double endpts)
vo_still_displaying(vo) ? STATUS_DRAINING : STATUS_EOF;
mpctx->delay = 0;
mpctx->last_av_difference = 0;
- MP_VERBOSE(mpctx, "video EOF (status=%d)\n", mpctx->video_status);
+ MP_DBG(mpctx, "video EOF (status=%d)\n", mpctx->video_status);
return;
}