summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-30 14:05:41 +0100
committerwm4 <wm4@nowhere>2015-10-30 14:05:41 +0100
commit7aba3a5d96b0d3b22c9e93057b6d1b4cba0e5104 (patch)
tree3271f366b12d492532f4e49463da305c75e7112a /player/core.h
parentacd5816a6df9e2de9e8dd307dde12a90717d464a (diff)
downloadmpv-7aba3a5d96b0d3b22c9e93057b6d1b4cba0e5104.tar.bz2
mpv-7aba3a5d96b0d3b22c9e93057b6d1b4cba0e5104.tar.xz
command: add mistimed-frame-count property
Does what the manpage says. This is a replacement incrementing the dropped frame counter (see previous commit).
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 2 insertions, 0 deletions
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;