summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-09-03 12:18:42 +0200
committerwm4 <wm4@nowhere>2020-09-03 12:18:42 +0200
commit177a88f676365c2b08dccb07577e0a7153e3bf99 (patch)
tree2eb49fe03e564623238f881bb9c495bfe5e2d7b5 /player/core.h
parent5fc34cb4d67432cb46aeefba0025cc364df02e98 (diff)
downloadmpv-177a88f676365c2b08dccb07577e0a7153e3bf99.tar.bz2
mpv-177a88f676365c2b08dccb07577e0a7153e3bf99.tar.xz
audio: reduce excessive logging of delayed audio start
Since this is a messy and fragile mechanism, I want it logged (even if it's somewhat in conflict with the verbose logging policy). On the other hand, it's unconditionally logged on every playloop iteration. So add some nonsense to log it only on progress.
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 5ad494ff89..aab408e92c 100644
--- a/player/core.h
+++ b/player/core.h
@@ -383,6 +383,8 @@ typedef struct MPContext {
double last_frame_duration;
// Video PTS, or audio PTS if video has ended.
double playback_pts;
+ // For logging only.
+ double logged_async_diff;
int last_chapter;