diff options
author | wm4 <wm4@nowhere> | 2014-11-01 01:07:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-01 01:07:21 +0100 |
commit | dab6cbca163910abf7bff93dec73b21d0a99b473 (patch) | |
tree | fdc0c4ea7c155775fffb2a75005ee2f9f1aa5faa /player/video.c | |
parent | 0e97808fc5ecfa252584d0d52abc69aab0bad4e5 (diff) | |
download | mpv-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/video.c')
-rw-r--r-- | player/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/video.c b/player/video.c index 092975d776..0a5fe521e8 100644 --- a/player/video.c +++ b/player/video.c @@ -223,7 +223,7 @@ void reset_video_state(struct MPContext *mpctx) mpctx->video_pts = MP_NOPTS_VALUE; mpctx->video_next_pts = MP_NOPTS_VALUE; mpctx->total_avsync_change = 0; - mpctx->drop_frame_cnt = 0; + mpctx->dropped_frames_total = 0; mpctx->dropped_frames = 0; mpctx->drop_message_shown = 0; @@ -400,7 +400,7 @@ static int decode_image(struct MPContext *mpctx) if (had_packet && !d_video->waiting_decoded_mpi && mpctx->video_status == STATUS_PLAYING) { - mpctx->drop_frame_cnt++; + mpctx->dropped_frames_total++; mpctx->dropped_frames++; } |