From 20840e38309aa61dd9a93b779faab98ac97a303c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Feb 2024 23:02:48 +0100 Subject: [PATCH] Cope with loading a film containing a missing DCP which itself contains subtitles. --- src/lib/dcp_content.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index f3751b1d8..e22f69f56 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -740,6 +740,9 @@ DCPContent::can_reference_text (shared_ptr film, TextType type, stri } catch (dcp::ReadError &) { /* We couldn't read the DCP, so it's probably missing */ return false; + } catch (DCPError &) { + /* We couldn't read the DCP, so it's probably missing */ + return false; } catch (dcp::KDMDecryptionError &) { /* We have an incorrect KDM */ return false; -- 2.30.2