summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-25 22:51:18 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-25 22:51:18 +0200
commitba9fb85168d004d7643dc02f911fd173a136758b (patch)
tree8beb9b26c9bf47dfe933c8e0ccaccb4e30a69286 /test
parentd7cf091bdbbeae8187e887104d1135e93bcdf5da (diff)
Add NamedChannel and use it to hide the never-used channels
when mapping into a DCP.
Diffstat (limited to 'test')
-rw-r--r--test/isdcf_name_test.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc
index 487f80ea2..e298114fc 100644
--- a/test/isdcf_name_test.cc
+++ b/test/isdcf_name_test.cc
@@ -190,8 +190,6 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_DE-fr_US-R_51-HI-VI_4K_DI_20140704_PP_SMPTE_OV");
film->set_audio_channels(10);
- mapping.set (0, dcp::LC, 1.0);
- mapping.set (0, dcp::RC, 1.0);
mapping.set (0, dcp::HI, 0.0);
mapping.set (0, dcp::VI, 0.0);
sound->audio->set_mapping (mapping);
@@ -204,8 +202,6 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_DE-fr_US-R_71-HI-VI_4K_DI_20140704_PP_SMPTE_OV");
film->set_audio_channels(12);
- mapping.set (0, dcp::LC, 0.0);
- mapping.set (0, dcp::RC, 0.0);
mapping.set (0, dcp::BSL, 1.0);
mapping.set (0, dcp::BSR, 1.0);
mapping.set (0, dcp::HI, 0.0);