summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/player/osd.c b/player/osd.c
index 34cf88f63c..2c6863eec8 100644
--- a/player/osd.c
+++ b/player/osd.c
@@ -229,11 +229,12 @@ static void print_status(struct MPContext *mpctx)
{
// VO stats
if (mpctx->d_video) {
- if (mpctx->drop_frame_cnt)
- saddf(&line, " SD: %d", mpctx->drop_frame_cnt);
int64_t c = vo_get_drop_count(mpctx->video_out);
- if (c > 0)
- saddf(&line, " D: %"PRId64, c);
+ if (c > 0 || mpctx->drop_frame_cnt > 0) {
+ saddf(&line, " Dropped: %"PRId64, c);
+ if (mpctx->drop_frame_cnt)
+ saddf(&line, "/%d", mpctx->drop_frame_cnt);
+ }
}
}