diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-28 23:35:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-28 23:35:25 +0200 |
| commit | 78b2c650a9249cb7165d269b4378391d31e68e8b (patch) | |
| tree | 6a02f0528a36aeb332f57fbbeb5eba0e6f878e54 /src | |
| parent | 5c318bb706e34333831a7c839e6fb1c3d042533f (diff) | |
Report the number of active channels in DCPs, not the number in the MXF.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 4 |
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")); } |
