summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-01 01:07:21 +0100
committerwm4 <wm4@nowhere>2014-11-01 01:07:21 +0100
commitdab6cbca163910abf7bff93dec73b21d0a99b473 (patch)
treefdc0c4ea7c155775fffb2a75005ee2f9f1aa5faa /player/osd.c
parent0e97808fc5ecfa252584d0d52abc69aab0bad4e5 (diff)
downloadmpv-dab6cbca163910abf7bff93dec73b21d0a99b473.tar.bz2
mpv-dab6cbca163910abf7bff93dec73b21d0a99b473.tar.xz
player: update meaning of drop_frame_cnt
Rename the variable, update comments, and update the documentation of the property which returns its value.
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);
}
}
}