From 177a88f676365c2b08dccb07577e0a7153e3bf99 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 3 Sep 2020 12:18:42 +0200 Subject: 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. --- 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 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; -- cgit v1.2.3