summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dcp_examiner.cc4
1 files changed, 2 insertions, 2 deletions
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<const DCPContent> 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"));
}