diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-06-20 22:07:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-06-29 01:50:35 +0200 |
| commit | 1ce934aa7daba329fe80410b27afc96a390ed419 (patch) | |
| tree | 44762a304c26028768e114820f5a4b7531f60ffa | |
| parent | 5bcf273dc773cf068791df959f3365866f39e433 (diff) | |
Keep "correct" hashes in dcpomatic2_map rather than recalculating them (#2555).
| -rw-r--r-- | src/lib/map_cli.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/map_cli.cc b/src/lib/map_cli.cc index 487d1690d..c7f21be4a 100644 --- a/src/lib/map_cli.cc +++ b/src/lib/map_cli.cc @@ -246,7 +246,7 @@ map_cli(int argc, char* argv[], std::function<void (string)> out) throw CopyError(String::compose("Could not copy asset %1: %2", input_path.string(), ec.message())); } } - (*iter)->set_file(output_path); + (*iter)->set_file_preserving_hash(output_path); already_copied.push_back(asset_id); } else { boost::system::error_code ec; |
