summaryrefslogtreecommitdiff
path: root/test/cpl_metadata_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-26 23:59:30 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-27 01:42:04 +0100
commit2ef30cbe66ca819588bf43d892223ed9864c0e9a (patch)
tree6528f5abdbb2f3bcf8d764b0e049af5006030f59 /test/cpl_metadata_test.cc
parent045a37dc877aecf907a517b0ec62a79efbf63f89 (diff)
Introduce and use dcp::Profile.v1.10.18
This replaces the specific flags passed to DCP::write(), is a property of the CPL (where it seems to belong) and allows us to write what I hear is the correct metadata for this mythical Bv2.0 that somebody invented.
Diffstat (limited to 'test/cpl_metadata_test.cc')
-rw-r--r--test/cpl_metadata_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpl_metadata_test.cc b/test/cpl_metadata_test.cc
index f3e44f46..2dc6da7d 100644
--- a/test/cpl_metadata_test.cc
+++ b/test/cpl_metadata_test.cc
@@ -299,7 +299,7 @@ BOOST_AUTO_TEST_CASE (cpl_metadata_write_test1)
{
RNGFixer fix;
- dcp::CPL cpl("", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE);
+ dcp::CPL cpl("", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE, dcp::Profile::SMPTE_BV20);
cpl.set_issue_date ("2020-08-28T13:35:06+02:00");
vector<dcp::ContentVersion> cv = {
@@ -385,7 +385,7 @@ BOOST_AUTO_TEST_CASE (cpl_metadata_write_test2)
{
RNGFixer fix;
- dcp::CPL cpl("", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE);
+ dcp::CPL cpl("", dcp::ContentKind::FEATURE, dcp::Standard::SMPTE, dcp::Profile::SMPTE_BV20);
cpl.set_issue_date ("2020-08-28T13:35:06+02:00");
cpl.set_content_version (dcp::ContentVersion("id", "version"));
cpl.set_issuer ("libdcp1.6.4devel");