[rhythmbox] xfade: don't deference a potentially null stream



commit 4380848c856783b646c5f8a8321e71254c3726ea
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Jun 25 10:35:04 2010 +1000

    xfade: don't deference a potentially null stream

 backends/gstreamer/rb-player-gst-xfade.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index 8966ec9..0634d4c 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -1822,7 +1822,7 @@ rb_player_gst_xfade_bus_cb (GstBus *bus, GstMessage *message, RBPlayerGstXFade *
 			}
 
 			details = gst_structure_to_string (s);
-			rb_debug_real ("check-imperfect", __FILE__, __LINE__, TRUE, "%s: %s", stream->uri, details);
+			rb_debug_real ("check-imperfect", __FILE__, __LINE__, TRUE, "%s: %s", uri, details);
 			g_free (details);
 		} else if (strcmp (name, "redirect") == 0) {
 			const char *uri = gst_structure_get_string (s, "new-location");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]