summaryrefslogtreecommitdiff
path: root/src/wx
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/wx
parent0877bf6d06de8e6f768534ec40c26bf629618a20 (diff)
DCPReadError -> ReadError in libdcp.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_menu.cc2
-rw-r--r--src/wx/content_view.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index c5dc1606d..7cb924a73 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -142,7 +142,7 @@ ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList
);
item->Check (dcp->cpl() && dcp->cpl() == i->id());
}
- } catch (dcp::DCPReadError &) {
+ } catch (dcp::ReadError &) {
/* The DCP is probably missing */
} catch (dcp::KDMDecryptionError &) {
/* We have an incorrect KDM */
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc
index 1cdfbc00f..d4e18108d 100644
--- a/src/wx/content_view.cc
+++ b/src/wx/content_view.cc
@@ -96,7 +96,7 @@ ContentView::update ()
}
} catch (boost::filesystem::filesystem_error& e) {
/* Never mind */
- } catch (dcp::DCPReadError& e) {
+ } catch (dcp::ReadError& e) {
/* Never mind */
}
}