summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-21 18:42:18 +0200
committerwm4 <wm4@nowhere>2013-08-21 18:42:18 +0200
commit45365ad99fc096f1eebc27d1e40362ea12722924 (patch)
treef59afa993154a5e8878b064369b67051ed5e6f64
parent74e3a29606f2995c5ba04944db3a32aaf2a75b55 (diff)
downloadmpv-45365ad99fc096f1eebc27d1e40362ea12722924.tar.bz2
mpv-45365ad99fc096f1eebc27d1e40362ea12722924.tar.xz
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.)
-rw-r--r--mpvcore/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index 001798aa9b..68c7a2ad1a 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -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);