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.
This commit is contained in:
Tim-Philipp Müller 2006-11-16 18:22:37 +00:00
parent e417238600
commit de9ee6e6e4
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2006-11-16 Tim-Philipp Müller <tim at centricular dot net>
* ext/spc/gstspc.c: (spc_play):
Fix build with disabled gst-debug.
2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Sebastian Dröge <slomo@circular-chaos.org>

View file

@ -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);