summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-15 14:08:08 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-15 14:08:08 +0200
commitcc4445c8ab6c6f389955dd2a95d2f756f0ae140a (patch)
tree7fc7d19a3c7ec4a0ebb5038825d151ca76f492fd /src
parent96d6f783b7dfac04af8a7d77033a3d05e31cfc10 (diff)
Fix incorrect channel assigment (DoM bug #2062).
Diffstat (limited to 'src')
-rw-r--r--src/sound_asset_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset_writer.cc b/src/sound_asset_writer.cc
index 5157bc9f..2842a1d5 100644
--- a/src/sound_asset_writer.cc
+++ b/src/sound_asset_writer.cc
@@ -126,7 +126,7 @@ SoundAssetWriter::start ()
asdcp_smpte_dict->ul(ASDCP::MDD_WaveAudioDescriptor), reinterpret_cast<ASDCP::MXF::InterchangeObject**>(&essence_descriptor)
);
DCP_ASSERT (essence_descriptor);
- essence_descriptor->ChannelAssignment = asdcp_smpte_dict->ul(ASDCP::MDD_DCAudioChannelCfg_MCA);
+ essence_descriptor->ChannelAssignment = asdcp_smpte_dict->ul(ASDCP::MDD_DCAudioChannelCfg_4_WTF);
auto soundfield = new ASDCP::MXF::SoundfieldGroupLabelSubDescriptor(asdcp_smpte_dict);
GenRandomValue (soundfield->MCALinkID);