projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ff0d9
)
Cope with loading a film containing a missing DCP which itself contains subtitles.
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Feb 2024 22:02:48 +0000
(23:02 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Feb 2024 22:02:48 +0000
(23:02 +0100)
src/lib/dcp_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_content.cc
b/src/lib/dcp_content.cc
index f3751b1d83e665c0ae909ab48ba749be7488b404..e22f69f56c62b8373b58e60dc04fb8d81d311a12 100644
(file)
--- 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;