mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
0ded54dd89
commit
d8a0356b3b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue