summaryrefslogtreecommitdiff
path: root/gst/siren/gstsirendec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/siren/gstsirendec.c')
-rw-r--r--gst/siren/gstsirendec.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c
index 2ebf307a0..aa71d4644 100644
--- a/gst/siren/gstsirendec.c
+++ b/gst/siren/gstsirendec.c
@@ -164,7 +164,10 @@ gst_siren_dec_handle_frame (GstAudioDecoder * bdec, GstBuffer * buf)
GstBuffer *out_buf;
guint8 *in_data, *out_data;
guint i, size, num_frames;
- gint out_size, in_size;
+ gint out_size;
+#ifndef GST_DISABLE_GST_DEBUG
+ gint in_size;
+#endif
gint decode_ret;
GstMapInfo inmap, outmap;
@@ -181,7 +184,9 @@ gst_siren_dec_handle_frame (GstAudioDecoder * bdec, GstBuffer * buf)
num_frames = size / 40;
/* this is the input/output size */
+#ifndef GST_DISABLE_GST_DEBUG
in_size = num_frames * 40;
+#endif
out_size = num_frames * 640;
GST_LOG_OBJECT (dec, "we have %u frames, %u in, %u out", num_frames, in_size,