summaryrefslogtreecommitdiffstats
path: root/player/command.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/command.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/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 2cf91cfd68..dbe81bff15 100644
--- a/player/command.c
+++ b/player/command.c
@@ -524,7 +524,7 @@ static int mp_property_drop_frame_cnt(void *ctx, struct m_property *prop,
if (!mpctx->d_video)
return M_PROPERTY_UNAVAILABLE;
- return m_property_int_ro(action, arg, mpctx->drop_frame_cnt);
+ return m_property_int_ro(action, arg, mpctx->dropped_frames_total);
}
static int mp_property_vo_drop_frame_count(void *ctx, struct m_property *prop,