diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-14 11:27:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-14 11:27:00 +0100 |
| commit | af87d03b24c21301639c23606993cfebcfbe3088 (patch) | |
| tree | e8106169d717030d96c444f3009687d3f7e2ba49 /src/dcp.cc | |
| parent | 4cad94e5c679c290db71f739df513fbee5286b2a (diff) | |
Add GroupID support for PKLs (DoM #2943).v1.10.5
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -449,7 +449,12 @@ DCP::write_volindex (Standard standard) const void -DCP::write_xml(shared_ptr<const CertificateChain> signer, bool include_mca_subdescriptors, NameFormat name_format) +DCP::write_xml( + shared_ptr<const CertificateChain> signer, + bool include_mca_subdescriptors, + NameFormat name_format, + optional<string> group_id + ) { if (_cpls.empty()) { throw MiscError ("Cannot write DCP with no CPLs."); @@ -478,7 +483,8 @@ DCP::write_xml(shared_ptr<const CertificateChain> signer, bool include_mca_subde _new_annotation_text.get_value_or(String::compose("Created by libdcp %1", dcp::version)), _new_issue_date.get_value_or(LocalTime().as_string()), _new_issuer.get_value_or(String::compose("libdcp %1", dcp::version)), - _new_creator.get_value_or(String::compose("libdcp %1", dcp::version)) + _new_creator.get_value_or(String::compose("libdcp %1", dcp::version)), + group_id ) ); } |
