Replace encrypted content with black if we have no key (#2234).
[dcpomatic.git] / src / lib / player.cc
index 12a53bc63c712865690fac123174610e31110bae..58ea4f2dea660ac6db81c51fbe55767573661c20 100644 (file)
@@ -147,7 +147,7 @@ Player::setup_pieces ()
 bool
 have_video (shared_ptr<const Content> content)
 {
-       return static_cast<bool>(content->video) && content->video->use();
+       return static_cast<bool>(content->video) && content->video->use() && content->can_be_played();
 }