summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-14 23:02:48 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-14 23:02:48 +0100
commit20840e38309aa61dd9a93b779faab98ac97a303c (patch)
tree37caa109e224e9ce5c54f622f4a9e18911e722e4
parent57ff0d9b06c396f8aae4388d4d61af564f2c04f6 (diff)
Cope with loading a film containing a missing DCP which itself contains subtitles.
-rw-r--r--src/lib/dcp_content.cc3
1 files changed, 3 insertions, 0 deletions
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<const Film> 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;