[totem] backend: Avoid warnings in metadata mode
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Avoid warnings in metadata mode
- Date: Mon, 4 Apr 2011 16:28:03 +0000 (UTC)
commit bc13fb898e2bf78080bb9d336f567ef9aceda949
Author: Bastien Nocera <hadess hadess net>
Date: Sun Apr 3 16:36:10 2011 +0100
backend: Avoid warnings in metadata mode
src/backend/bacon-video-widget-gst-0.10.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 55f8385..d9755fb 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -630,6 +630,9 @@ set_current_actor (BaconVideoWidget *bvw)
{
gboolean draw_logo;
+ if (bvw->priv->stage == NULL)
+ return;
+
/* 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. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]