From 7aba3a5d96b0d3b22c9e93057b6d1b4cba0e5104 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 Oct 2015 14:05:41 +0100 Subject: command: add mistimed-frame-count property Does what the manpage says. This is a replacement incrementing the dropped frame counter (see previous commit). --- player/core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index b5c2077e5a..fb7c1ed975 100644 --- a/player/core.h +++ b/player/core.h @@ -269,6 +269,8 @@ typedef struct MPContext { // Timing error (in seconds) due to rounding on vsync boundaries double display_sync_error; int display_sync_disable_counter; + // Number of mistimed frames. + int mistimed_frames_total; /* Set if audio should be timed to start with video frame after seeking, * not set when e.g. playing cover art */ bool sync_audio_to_video; -- cgit v1.2.3