summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-14 21:02:56 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-14 21:02:56 +0200
commitb029cb06c4e0fca1fad9fecd78939efe5532fa9a (patch)
treebbef53fcce4acb1ed3d8e23100f9944b11ad7d67 /src/lib/dcp_content.cc
parent0877bf6d06de8e6f768534ec40c26bf629618a20 (diff)
DCPReadError -> ReadError in libdcp.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index d0f434e5a..52ac6132c 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -549,7 +549,7 @@ DCPContent::can_reference (shared_ptr<const Film> film, function<bool (shared_pt
list<DCPTimePeriod> reel_list;
try {
reel_list = reels (film);
- } catch (dcp::DCPReadError &) {
+ } catch (dcp::ReadError &) {
/* We couldn't read the DCP; it's probably missing */
return false;
} catch (dcp::KDMDecryptionError &) {
@@ -627,7 +627,7 @@ DCPContent::can_reference_audio (shared_ptr<const Film> film, string& why_not) c
shared_ptr<DCPDecoder> decoder;
try {
decoder.reset (new DCPDecoder (film, shared_from_this(), false, film->tolerant(), shared_ptr<DCPDecoder>()));
- } catch (dcp::DCPReadError &) {
+ } catch (dcp::ReadError &) {
/* We couldn't read the DCP, so it's probably missing */
return false;
} catch (DCPError &) {
@@ -662,7 +662,7 @@ DCPContent::can_reference_text (shared_ptr<const Film> film, TextType type, stri
shared_ptr<DCPDecoder> decoder;
try {
decoder.reset (new DCPDecoder (film, shared_from_this(), false, film->tolerant(), shared_ptr<DCPDecoder>()));
- } catch (dcp::DCPReadError &) {
+ } catch (dcp::ReadError &) {
/* We couldn't read the DCP, so it's probably missing */
return false;
} catch (dcp::KDMDecryptionError &) {