From 78b2c650a9249cb7165d269b4378391d31e68e8b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 28 May 2023 23:35:25 +0200 Subject: Report the number of active channels in DCPs, not the number in the MXF. --- src/lib/dcp_examiner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 9c4f899c6..50b19e2fd 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -175,8 +175,8 @@ DCPExaminer::DCPExaminer (shared_ptr content, bool tolerant) auto asset = reel->main_sound()->asset(); if (!_audio_channels) { - _audio_channels = asset->channels (); - } else if (_audio_channels.get() != asset->channels ()) { + _audio_channels = asset->active_channels(); + } else if (_audio_channels.get() != asset->active_channels()) { throw DCPError (_("Mismatched audio channel counts in DCP")); } -- cgit v1.2.3