summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
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/lib/player.cc
parent4f139c25251b177878e30dd62350a0ebd5e07e14 (diff)
Correctly spot that a DCP with unencrypted picture but encrypted sound/subtitle needs a KDM.
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index c17cdfdc0..69306e381 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -169,7 +169,8 @@ Player::playlist_content_changed (weak_ptr<Content> w, int property, bool freque
property == ContentProperty::TRIM_END ||
property == ContentProperty::PATH ||
property == VideoContentProperty::FRAME_TYPE ||
- property == DCPContentProperty::CAN_BE_PLAYED ||
+ property == DCPContentProperty::NEEDS_ASSETS ||
+ property == DCPContentProperty::NEEDS_KDM ||
property == SubtitleContentProperty::COLOUR ||
property == SubtitleContentProperty::OUTLINE ||
property == SubtitleContentProperty::SHADOW ||