1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-10 08:13:03 +00:00

mplayer: replace "D:" in status line with "Late:"

Too many people thought "D:" really meant number of dropped frames. But
it's actually the number of frames where the playloop thought it'd be
a good idea to drop them. Of course this does nothing if frame dropping
is disabled, but even with normal frame dropping, this doesn't indicate
whether a frame was _really_ dropped. (Looks like libavcodec doesn't
even give us this information reliably? The decode function can return
no frame in case of codec delay due to threading and such.)
This commit is contained in:
wm4 2013-08-21 18:42:18 +02:00
parent 74e3a29606
commit 45365ad99f

View File

@ -1188,7 +1188,7 @@ static void print_status(struct MPContext *mpctx)
{
// VO stats
if (sh_video && mpctx->drop_frame_cnt)
saddf(&line, " D: %d", mpctx->drop_frame_cnt);
saddf(&line, " Late: %d", mpctx->drop_frame_cnt);
}
int cache = mp_get_cache_percent(mpctx);