summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-21 22:16:48 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-21 22:16:48 +0100
commit8457b7c1066da4e14f00a76f3855e60d986b179f (patch)
treebd05cf5865acb87eadff18daa7cb6ba46e272dd8 /src/wx
parent4f139c25251b177878e30dd62350a0ebd5e07e14 (diff)
Correctly spot that a DCP with unencrypted picture but encrypted sound/subtitle needs a KDM.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 1d9f010bf..5892d9c4c 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -468,7 +468,7 @@ ContentPanel::set_selection (weak_ptr<Content> wc)
void
ContentPanel::film_content_changed (int property)
{
- if (property == ContentProperty::PATH || property == DCPContentProperty::CAN_BE_PLAYED) {
+ if (property == ContentProperty::PATH || property == DCPContentProperty::NEEDS_ASSETS || property == DCPContentProperty::NEEDS_KDM) {
setup ();
}