summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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);