From d1b4dbb793e2850d032ce3c91f0c91d045ae19dc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 16 Apr 2022 23:57:19 +0200 Subject: Replace encrypted content with black if we have no key (#2234). --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/player.cc') diff --git a/src/lib/player.cc b/src/lib/player.cc index 12a53bc63..58ea4f2de 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -147,7 +147,7 @@ Player::setup_pieces () bool have_video (shared_ptr content) { - return static_cast(content->video) && content->video->use(); + return static_cast(content->video) && content->video->use() && content->can_be_played(); } -- cgit v1.2.3