summaryrefslogtreecommitdiff
path: root/test/content_test.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 /test/content_test.cc
parentea57d67cb7c7cd500d34bf783ed23c3dbc66b59b (diff)
Go back to respecting the user's choice for the number of audio channels in the MXF.
Diffstat (limited to 'test/content_test.cc')
-rw-r--r--test/content_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/content_test.cc b/test/content_test.cc
index 85862af82..47099025e 100644
--- a/test/content_test.cc
+++ b/test/content_test.cc
@@ -45,6 +45,7 @@ BOOST_AUTO_TEST_CASE (content_test1)
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
film->set_name ("content_test1");
film->set_container (Ratio::from_id ("185"));
+ film->set_audio_channels(16);
auto content = content_factory(TestPaths::private_data() / "demo_sound_bug.mkv")[0];
film->examine_and_add_content (content);
@@ -150,6 +151,8 @@ BOOST_AUTO_TEST_CASE (content_test6)
&cl
);
+ film->set_audio_channels(16);
+
make_and_verify_dcp (film);
check_dcp (TestPaths::private_data() / "fha", film);