summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-23 01:59:10 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-29 23:37:48 +0200
commitf37c1e40dcd5186c5aee95a4b0e6607c1b0045e4 (patch)
treed7048963c435262dac6c7af6044148ea15a42125 /src/lib
parent5c48efdde34ee11f135ea8b369d85d50d1410445 (diff)
Add a simple DCP editor.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/writer.cc13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index f14ef49ef..954c135d3 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -692,14 +692,11 @@ Writer::finish (boost::filesystem::path output_dcp)
throw InvalidSignerError (reason);
}
- dcp.write_xml (
- issuer,
- creator,
- dcp::LocalTime().as_string(),
- film()->dcp_name(),
- signer,
- Config::instance()->dcp_metadata_filename_format()
- );
+ dcp.set_issuer(issuer);
+ dcp.set_creator(creator);
+ dcp.set_annotation_text(film()->dcp_name());
+
+ dcp.write_xml (signer, Config::instance()->dcp_metadata_filename_format());
LOG_GENERAL (
N_("Wrote %1 FULL, %2 FAKE, %3 REPEAT, %4 pushed to disk"), _full_written, _fake_written, _repeat_written, _pushed_to_disk