diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-17 14:11:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-20 16:41:02 +0100 |
| commit | 20e3e4c2a7a91e45740987a702f5d4c1ea2f9030 (patch) | |
| tree | dd8d9a08834170980ff34ea288ed0334a8b2d9b0 /tools | |
| parent | 870f02f07ee51ee478006260e2c3b683e591b0c9 (diff) | |
Use an enum instead of a bool in PictureAsset::start_write().
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpdecryptmxf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dcpdecryptmxf.cc b/tools/dcpdecryptmxf.cc index 33ba79bb..1cdb58ec 100644 --- a/tools/dcpdecryptmxf.cc +++ b/tools/dcpdecryptmxf.cc @@ -221,7 +221,7 @@ main (int argc, char* argv[]) in.max_object_count(), in.atmos_version() ); - auto writer = out.start_write (output_file.get()); + auto writer = out.start_write(output_file.get()); copy (in, writer, ignore_hmac); break; } @@ -230,7 +230,7 @@ main (int argc, char* argv[]) dcp::MonoPictureAsset in (input_file); add_key (in, decrypted_kdm); dcp::MonoPictureAsset out (in.edit_rate(), dcp::Standard::SMPTE); - auto writer = out.start_write (output_file.get(), false); + auto writer = out.start_write(output_file.get(), dcp::PictureAsset::Behaviour::MAKE_NEW); copy (in, writer, ignore_hmac); break; } |
