summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-15 00:43:33 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-15 00:47:36 +0100
commit5e09964bf1801b76970ed960122249e1d273abea (patch)
treee77ab856bd4f72f512fcbac56a3c625dc2d395d8 /src/lib
parent6ac0c8037f45306798993e743b70afdc62ff4a6b (diff)
Clarify one log message and add another.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/audio_analyser.cc2
-rw-r--r--src/lib/ffmpeg_decoder.cc1
2 files changed, 2 insertions, 1 deletions
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<AudioBuffers> 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];