From e8ce097ce705446c27b51199a321a9918deaa0db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 31 Oct 2025 00:03:49 +0100 Subject: Allow specification of which parts of the DCP to encrypt (#3099). --- src/lib/create_cli.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/lib/create_cli.cc') 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 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); -- cgit v1.2.3