From 5e09964bf1801b76970ed960122249e1d273abea Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 15 Nov 2022 00:43:33 +0100 Subject: [PATCH] Clarify one log message and add another. --- src/lib/audio_analyser.cc | 2 +- src/lib/ffmpeg_decoder.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/audio_analyser.cc b/src/lib/audio_analyser.cc index e4dfc6bde..1556f921d 100644 --- a/src/lib/audio_analyser.cc +++ b/src/lib/audio_analyser.cc @@ -136,7 +136,7 @@ AudioAnalyser::~AudioAnalyser () void AudioAnalyser::analyse (shared_ptr b, DCPTime time) { - LOG_DEBUG_AUDIO_ANALYSIS("Received %1 frames at %2", b->frames(), to_string(time)); + LOG_DEBUG_AUDIO_ANALYSIS("AudioAnalyser received %1 frames at %2", b->frames(), to_string(time)); DCPOMATIC_ASSERT (time >= _start); /* In bug #2364 we had a lot of frames arriving here (~47s worth) which * caused an OOM error on Windows. Check for the number of frames being diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 27b7aa7b7..8b07658ca 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -190,6 +190,7 @@ FFmpegDecoder::pass () Hence it makes sense to continue here in that case. */ if (r < 0 && r != AVERROR_INVALIDDATA) { + LOG_DEBUG_PLAYER("FFpmegDecoder::pass flushes because av_read_frame returned %1", r); if (r != AVERROR_EOF) { /* Maybe we should fail here, but for now we'll just finish off instead */ char buf[256]; -- 2.30.2