summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-08 23:08:20 +0200
committerwm4 <wm4@nowhere>2015-10-08 23:20:33 +0200
commitf7124be0914e2e6130c5aaddfc86b7f1d9955f92 (patch)
tree414aa0fb74f60765a503a821faac3a38249b3256 /player/core.h
parent6499224888c79eff236e97e0e63efa261d95d9b9 (diff)
downloadmpv-f7124be0914e2e6130c5aaddfc86b7f1d9955f92.tar.bz2
mpv-f7124be0914e2e6130c5aaddfc86b7f1d9955f92.tar.xz
audio: add AO deviation logging
Pretty dumb (and doesn't handle pausing or other discontinuities), but at least somewhat idiot-proof.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index eae7d545d2..b775e52535 100644
--- a/player/core.h
+++ b/player/core.h
@@ -302,6 +302,9 @@ typedef struct MPContext {
double last_vo_pts;
// Video PTS, or audio PTS if video has ended.
double playback_pts;
+ // audio stats only
+ int64_t audio_stat_start;
+ double written_audio;
int last_chapter;