summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-04 23:57:29 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-09 13:35:56 +0100
commit89d4497d91a83de40c8358c9c9608c938331958c (patch)
tree57b1334ce1ca56700cdfe9dce943d1007a6720cc /src
parent17518c00a88dea3c55bbe81738d0201cf1c79425 (diff)
Preserve CPL/PKL filenames in the editor (#3109).
Diffstat (limited to 'src')
-rw-r--r--src/lib/writer.cc2
-rw-r--r--src/tools/dcpomatic_editor.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 41e831e94..6a74718c3 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -707,7 +707,7 @@ Writer::finish()
if (dcpomatic::film::is_vf(film())) {
group_id = dcp::make_uuid();
}
- dcp.write_xml(signer, Config::instance()->dcp_metadata_filename_format(), group_id);
+ dcp.write_xml(signer, dcp::Filenames::NEW, Config::instance()->dcp_metadata_filename_format(), group_id);
LOG_GENERAL(
N_("Wrote {} FULL, {} FAKE, {} REPEAT, {} pushed to disk"), _full_written, _fake_written, _repeat_written, _pushed_to_disk
diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc
index e4439dacf..6c6892caa 100644
--- a/src/tools/dcpomatic_editor.cc
+++ b/src/tools/dcpomatic_editor.cc
@@ -458,7 +458,7 @@ private:
void file_save ()
{
- _dcp->write_xml(Config::instance()->signer_chain());
+ _dcp->write_xml(Config::instance()->signer_chain(), dcp::Filenames::ORIGINAL);
}
void file_exit ()