From 1ce934aa7daba329fe80410b27afc96a390ed419 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 20 Jun 2023 22:07:50 +0200 Subject: Keep "correct" hashes in dcpomatic2_map rather than recalculating them (#2555). --- src/lib/map_cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/map_cli.cc') 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 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; -- cgit v1.2.3