From 58caf577f1949655e2eeaf3d7c565eedb6ee2805 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Nov 2015 21:21:57 +0100 Subject: player: replace mistimed-frame-count with vsync-ratio on status line I think this is much more informative. Maybe. --- player/osd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index e26439432d..353c301942 100644 --- a/player/osd.c +++ b/player/osd.c @@ -235,8 +235,10 @@ static void print_status(struct MPContext *mpctx) // VO stats if (mpctx->d_video) { if (mpctx->display_sync_active) { - saddf(&line, " DS: %d/%"PRId64, mpctx->mistimed_frames_total, + char *r = mp_property_expand_string(mpctx, "${vsync-ratio}"); + saddf(&line, " DS: %s/%"PRId64, r, vo_get_delayed_count(mpctx->video_out)); + talloc_free(r); } int64_t c = vo_get_drop_count(mpctx->video_out); if (c > 0 || mpctx->dropped_frames_total > 0) { -- cgit v1.2.3