summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-05-05 18:09:16 +0200
committerBastien Nocera <hadess@hadess.net>2021-05-05 18:17:54 +0200
commit626340faccf718b947ec944c3176732d1d1dd77c (patch)
treee46f58d306a1dd8a3379346cb5b9902542f77fd1
parent622bb321bda4925e7795e3f852196fb8ef36f6f9 (diff)
downloadtotem-626340faccf718b947ec944c3176732d1d1dd77c.tar.gz
backend: Fix the logo not showing when there's no cover
When playing audio-only, we would only try to draw an image when there was a cover, which means we never saw the application logo as a filler. Fixes: c0eb016979
-rw-r--r--src/backend/bacon-video-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index f17469a61..baffe7f23 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -697,8 +697,7 @@ set_current_actor (BaconVideoWidget *bvw)
/* If there's only audio and no visualisation, draw the logo as well.
* If we have a cover image to display, we display it regardless of whether we're
* doing visualisations. */
- draw_logo = bvw->media_has_audio &&
- !bvw->media_has_video && bvw->cover_pixbuf;
+ draw_logo = bvw->media_has_audio && !bvw->media_has_video;
if (bvw->logo_mode || draw_logo) {
const GdkPixbuf *pixbuf;