summaryrefslogtreecommitdiff
path: root/src/lib/atmos_mxf_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-14 18:39:23 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-14 18:39:23 +0100
commit6d1232abc853ea3771c35da6d3ff091b66baa1f2 (patch)
tree30b9e5275b30f8927a90d3db388d8ea10f0b6b24 /src/lib/atmos_mxf_content.cc
parenta680098a14cf40172370fde12c86691b82a36051 (diff)
FIXME: fix bugs.448-re-use
Diffstat (limited to 'src/lib/atmos_mxf_content.cc')
-rw-r--r--src/lib/atmos_mxf_content.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/atmos_mxf_content.cc b/src/lib/atmos_mxf_content.cc
index a1d2235de..eaee34ffd 100644
--- a/src/lib/atmos_mxf_content.cc
+++ b/src/lib/atmos_mxf_content.cc
@@ -123,6 +123,10 @@ AtmosMXFContent::approximate_length () const
bool
AtmosMXFContent::can_reuse(shared_ptr<const Film> film) const
{
+ if (film->encrypted()) {
+ return false;
+ }
+
auto atmos_period = period(film);
/* Check that this content has been trimmed by an exact number of video frames,