From 97f0b9b3ed8a2c64b0f2cb0c6d4d07acde51be6b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 May 2020 22:22:31 +0200 Subject: [PATCH] Fix empty (black) area calculations when video is set to not be used. --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/player.cc b/src/lib/player.cc index 059465724..4f81199a5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -151,7 +151,7 @@ Player::setup_pieces () bool have_video (shared_ptr content) { - return static_cast(content->video); + return static_cast(content->video) && content->video->use(); } bool -- 2.30.2