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