summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/writer.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 227de6277..d6c3370b0 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -637,6 +637,11 @@ Writer::write_cover_sheet ()
bool
Writer::can_fake_write (Frame frame) const
{
+ if (_film->encrypted()) {
+ /* We need to re-write the frame because the asset ID is embedded in the HMAC... I think... */
+ return false;
+ }
+
/* We have to do a proper write of the first frame so that we can set up the JPEG2000
parameters in the asset writer.
*/