From dab6cbca163910abf7bff93dec73b21d0a99b473 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Nov 2014 01:07:21 +0100 Subject: player: update meaning of drop_frame_cnt Rename the variable, update comments, and update the documentation of the property which returns its value. --- player/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/video.c') 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++; } -- cgit v1.2.3