summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-07-25 11:04:30 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-06 22:05:03 +0200
commit02d4493e593d567b210cd7f2b98d33a345867d1d (patch)
treef3604e4104d6668c0eb67b4a7f29975876dd59a6 /src/lib/reel_writer.cc
parentea57d67cb7c7cd500d34bf783ed23c3dbc66b59b (diff)
Go back to respecting the user's choice for the number of audio channels in the MXF.
Diffstat (limited to 'src/lib/reel_writer.cc')
-rw-r--r--src/lib/reel_writer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc
index e8db82fbb..7c0c9188a 100644
--- a/src/lib/reel_writer.cc
+++ b/src/lib/reel_writer.cc
@@ -179,8 +179,7 @@ ReelWriter::ReelWriter (
_sound_asset = make_shared<dcp::SoundAsset> (
dcp::Fraction(film()->video_frame_rate(), 1),
film()->audio_frame_rate(),
- /* Always make 16-channel sound assets for SMPTE; libdcp will pad unused channels for us */
- standard == dcp::Standard::SMPTE ? MAX_DCP_AUDIO_CHANNELS : film()->audio_channels(),
+ film()->audio_channels(),
lang ? *lang : dcp::LanguageTag("en-US"),
standard
);