From de9ee6e6e42b8485daf19586dc976fe05bd14087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 16 Nov 2006 18:22:37 +0000 Subject: [PATCH] ext/spc/gstspc.c: Fix build with disabled gst-debug. Original commit message from CVS: * ext/spc/gstspc.c: (spc_play): Fix build with disabled gst-debug. --- ChangeLog | 5 +++++ ext/spc/gstspc.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd8c03d219..1a45fc6fd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-16 Tim-Philipp Müller + + * ext/spc/gstspc.c: (spc_play): + Fix build with disabled gst-debug. + 2006-11-15 Tim-Philipp Müller Patch by: Sebastian Dröge diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c index 2c5e0180ec..aed588bd55 100644 --- a/ext/spc/gstspc.c +++ b/ext/spc/gstspc.c @@ -231,9 +231,8 @@ spc_play (GstPad * pad) OSPC_Run (-1, (short *) GST_BUFFER_DATA (out), 1600 * 4); if ((flow_return = gst_pad_push (spc->srcpad, out)) != GST_FLOW_OK) { - const gchar *reason = gst_flow_get_name (flow_return); - - GST_DEBUG_OBJECT (spc, "pausing task, reason %s", reason); + GST_DEBUG_OBJECT (spc, "pausing task, reason %s", + gst_flow_get_name (flow_return)); gst_pad_pause_task (pad);