summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-13 22:41:41 +0100
committerwm4 <wm4@nowhere>2015-11-13 22:41:41 +0100
commitf0feea55918e133ba3e6871e2bb1cbd9610cb2d1 (patch)
tree2a6d808fab4b5b3de03f7588037b2dd8b2408ac2 /player/osd.c
parentdef87f1e5f693ed24b5c8f62e8e86dbaebe4d993 (diff)
downloadmpv-f0feea55918e133ba3e6871e2bb1cbd9610cb2d1.tar.bz2
mpv-f0feea55918e133ba3e6871e2bb1cbd9610cb2d1.tar.xz
command: rename vo-missed-frame-count property
"Missed" implies the frame was dropped, but what really happens is that the following frame will be shown later than intended (due to the current frame skipping a vsync). (As of this commit, this property is still inactive and always returns 0. See git blame for details.)
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/player/osd.c b/player/osd.c
index da14f8ff2b..596386ebae 100644
--- a/player/osd.c
+++ b/player/osd.c
@@ -234,14 +234,8 @@ static void print_status(struct MPContext *mpctx)
// VO stats
if (mpctx->d_video) {
if (mpctx->display_sync_active) {
- char *f =
- mp_property_expand_string(mpctx, "${audio-speed-correction}");
- if (f)
- saddf(&line, " DS: %s", f);
- talloc_free(f);
- int64_t m = vo_get_missed_count(mpctx->video_out);
- if (m > 0)
- saddf(&line, " Missed: %"PRId64, m);
+ saddf(&line, " DS: %d/%"PRId64, mpctx->mistimed_frames_total,
+ vo_get_delayed_count(mpctx->video_out));
}
int64_t c = vo_get_drop_count(mpctx->video_out);
if (c > 0 || mpctx->dropped_frames_total > 0) {