summaryrefslogtreecommitdiff
path: root/test/atmos_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-31 00:03:49 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-05 00:43:19 +0100
commite8ce097ce705446c27b51199a321a9918deaa0db (patch)
tree0a52cbc9c52791d453fa4bd478609aedde98c831 /test/atmos_test.cc
parentef65a179e8c907029d0d9254863d4884581f3d60 (diff)
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'test/atmos_test.cc')
-rw-r--r--test/atmos_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/atmos_test.cc b/test/atmos_test.cc
index 33a427321..776cc9310 100644
--- a/test/atmos_test.cc
+++ b/test/atmos_test.cc
@@ -68,7 +68,9 @@ BOOST_AUTO_TEST_CASE(atmos_encrypted_passthrough_test)
auto content = content_factory(TestPaths::private_data() / "atmos_asset.mxf");
auto film = new_test_film("atmos_encrypted_passthrough_test", content, &cl);
- film->set_encrypted(true);
+ film->set_encrypt_picture(true);
+ film->set_encrypt_sound(true);
+ film->set_encrypt_text(true);
film->_key = dcp::Key("4fac12927eb122af1c2781aa91f3a4cc");
make_and_verify_dcp(film, { dcp::VerificationNote::Code::MISSING_CPL_METADATA });