summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-06 23:10:02 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-06 23:10:02 +0000
commitdb19d69c0c33fe64cf60ec85bf59c4c15ec37383 (patch)
tree89698f9b8d91cbd0c20ec76b2d2a997be0640314 /src
parent06afebc220ed9267f6f5c73ee16059ebdf6f811c (diff)
Catch exceptions thrown when there are bad KDMs added to imported DCPs (#1000).
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_menu.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index 174d625b8..68443c0cf 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -143,6 +143,8 @@ ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList
}
} catch (dcp::DCPReadError) {
/* The DCP is probably missing */
+ } catch (dcp::KDMDecryptionError) {
+ /* We have an incorrect KDM */
}
} else {
_kdm->Enable (false);