From 27ede05dd1fd9966b9dc5da512f60f3edfcdcd31 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 17 Feb 2025 16:49:04 +0100 Subject: Debug: log audio mapping. --- src/lib/audio_mapping.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/audio_mapping.cc b/src/lib/audio_mapping.cc index 939a03414..f6ba0a0b7 100644 --- a/src/lib/audio_mapping.cc +++ b/src/lib/audio_mapping.cc @@ -23,6 +23,7 @@ #include "audio_processor.h" #include "constants.h" #include "dcpomatic_assert.h" +#include "dcpomatic_log.h" #include "digester.h" #include "util.h" #include @@ -116,6 +117,8 @@ AudioMapping::make_default (AudioProcessor const * processor, optionalmake_audio_mapping_default (*this); } else { @@ -128,8 +131,11 @@ AudioMapping::make_default (AudioProcessor const * processor, optionalfilename().string(), e) && regex[i].channel < output_channels()) { + LOG_GENERAL("%1 matched regex %2 for channel %3", filename->filename().string(), regex[i].regex, regex[i].channel); set (0, regex[i].channel, 1); guessed = true; + } else { + LOG_GENERAL("%1 did not match regex %2 for channel %3", filename->filename().string(), regex[i].regex, regex[i].channel); } } } -- cgit v1.2.3