diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-19 22:51:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-19 22:51:46 +0200 |
| commit | 60fd98772b64dfc1195a34e5be7782675a150538 (patch) | |
| tree | 451fa5cf44cd5f44d896a88a20008ffaa6c3050a /src/lib/dcp_decoder.cc | |
| parent | cb83b1ebba5d3eb9085a1b07beff2700606d8df0 (diff) | |
| parent | 7f6cc5c6e151c32fce94181689cf740a011feafb (diff) | |
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/dcp_decoder.cc')
| -rw-r--r-- | src/lib/dcp_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index e471a237f..84b51cae8 100644 --- a/src/lib/dcp_decoder.cc +++ b/src/lib/dcp_decoder.cc @@ -81,7 +81,7 @@ DCPDecoder::DCPDecoder (shared_ptr<const Film> film, shared_ptr<const DCPContent if (content->video) { video = make_shared<VideoDecoder>(this, content); } - if (content->audio) { + if (content->audio && !content->audio->mapping().mapped_output_channels().empty()) { audio = make_shared<AudioDecoder>(this, content->audio, fast); } for (auto i: content->text) { |
