diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-31 00:03:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-05 00:43:19 +0100 |
| commit | e8ce097ce705446c27b51199a321a9918deaa0db (patch) | |
| tree | 0a52cbc9c52791d453fa4bd478609aedde98c831 /src/lib/create_cli.cc | |
| parent | ef65a179e8c907029d0d9254863d4884581f3d60 (diff) | |
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'src/lib/create_cli.cc')
| -rw-r--r-- | src/lib/create_cli.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc index af2e90745..32834be23 100644 --- a/src/lib/create_cli.cc +++ b/src/lib/create_cli.cc @@ -473,9 +473,13 @@ CreateCLI::make_film(function<void (string)> error) const } film->set_use_isdcf_name(!_no_use_isdcf_name); if (_no_encrypt) { - film->set_encrypted(false); + film->set_encrypt_picture(false); + film->set_encrypt_sound(false); + film->set_encrypt_text(false); } else if (_encrypt) { - film->set_encrypted(true); + film->set_encrypt_picture(true); + film->set_encrypt_sound(true); + film->set_encrypt_text(true); } if (_twod) { film->set_three_d(false); |
