summaryrefslogtreecommitdiffstats
path: root/ext/spc/gstspc.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-11-16 18:22:37 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-11-16 18:22:37 +0000
commitde9ee6e6e42b8485daf19586dc976fe05bd14087 (patch)
treeb54dd4e6edb5eefe9b2aa0c4a16ff9896db1ad7a /ext/spc/gstspc.c
parente4172386006326f2aa05b8125d6a8a824d212222 (diff)
downloadgst-plugins-bad-de9ee6e6e42b8485daf19586dc976fe05bd14087.tar.gz
gst-plugins-bad-de9ee6e6e42b8485daf19586dc976fe05bd14087.tar.bz2
gst-plugins-bad-de9ee6e6e42b8485daf19586dc976fe05bd14087.zip
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.
Diffstat (limited to 'ext/spc/gstspc.c')
-rw-r--r--ext/spc/gstspc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c
index 2c5e0180..aed588bd 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);