diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-18 00:51:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-18 00:51:45 +0200 |
| commit | ef20ef5082586ac7c54e6e5f2d3520249f9e2139 (patch) | |
| tree | 724748bb22b19675010d1c4cdf7d76ab280e9533 /test/mca_test.cc | |
| parent | 4347717803d202a41792faf42e846fd73a0586bf (diff) | |
fixup! Introduce SMPTEFlavour and use it to decide which optional things to write.smpte-a
Diffstat (limited to 'test/mca_test.cc')
| -rw-r--r-- | test/mca_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mca_test.cc b/test/mca_test.cc index bdfc9484..8e3739c8 100644 --- a/test/mca_test.cc +++ b/test/mca_test.cc @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE (parse_mca_descriptors_from_mxf_test) BOOST_AUTO_TEST_CASE (write_mca_descriptors_to_mxf_test) { auto sound_asset = make_shared<dcp::SoundAsset>(dcp::Fraction(24, 1), 48000, 6, dcp::LanguageTag("en-US"), dcp::Standard::SMPTE); - auto writer = sound_asset->start_write("build/test/write_mca_descriptors_to_mxf_test.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); + auto writer = sound_asset->start_write("build/test/write_mca_descriptors_to_mxf_test.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SMPTEFlavour::BV21); float* samples[6]; for (int i = 0; i < 6; ++i) { @@ -153,7 +153,7 @@ check_mca_descriptors(int suffix, vector<dcp::Channel> extra_active_channels, ve boost::filesystem::create_directories(dir); auto sound_asset = make_shared<dcp::SoundAsset>(dcp::Fraction(24, 1), 48000, 16, dcp::LanguageTag("en-US"), dcp::Standard::SMPTE); - auto writer = sound_asset->start_write(dir / "mxf.mxf", extra_active_channels, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED); + auto writer = sound_asset->start_write(dir / "mxf.mxf", extra_active_channels, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SMPTEFlavour::BV21); vector<vector<float>> samples(6); float* pointers[6]; |
