summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-31 00:03:49 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-05 00:43:19 +0100
commite8ce097ce705446c27b51199a321a9918deaa0db (patch)
tree0a52cbc9c52791d453fa4bd478609aedde98c831 /src/lib/writer.cc
parentef65a179e8c907029d0d9254863d4884581f3d60 (diff)
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 7121c594b..41e831e94 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -723,7 +723,7 @@ Writer::finish()
bool
Writer::can_fake_write(Frame frame) const
{
- if (film()->encrypted()) {
+ if (film()->encrypt_picture()) {
/* We need to re-write the frame because the asset ID is embedded in the HMAC... I think... */
return false;
}