From 2ef30cbe66ca819588bf43d892223ed9864c0e9a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 26 Mar 2025 23:59:30 +0100 Subject: Introduce and use dcp::Profile. 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. --- src/dcp.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dcp.cc') diff --git a/src/dcp.cc b/src/dcp.cc index 795dfca7..06590407 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -451,7 +451,6 @@ DCP::write_volindex (Standard standard) const void DCP::write_xml( shared_ptr signer, - bool include_mca_subdescriptors, NameFormat name_format, optional group_id ) @@ -473,7 +472,7 @@ DCP::write_xml( for (auto i: cpls()) { NameFormat::Map values; values['t'] = "cpl"; - i->write_xml(_directory / (name_format.get(values, "_" + i->id() + ".xml")), signer, include_mca_subdescriptors); + i->write_xml(_directory / (name_format.get(values, "_" + i->id() + ".xml")), signer); } if (_pkls.empty()) { -- cgit v1.2.3