diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-07 21:42:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-07 21:42:36 +0000 |
| commit | f0bb6cc4846d24b0b3d67ae9329e08a387981b66 (patch) | |
| tree | 272f7e0d5ed4e7b5a4d0db583d429adc5d493936 /src | |
| parent | 1e110f7446adab91b5ddaaca9e9f6207ffcfdd37 (diff) | |
| parent | d516d8e159e99d7b3b8250f39f976574df072cd8 (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/writer.cc | 5 |
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. */ |
