From 6affe40e2abce805e3c27f199987333792982623 Mon Sep 17 00:00:00 2001
From: Patrick Godwin <patrick.godwin@ligo.org>
Date: Mon, 12 Feb 2018 16:40:25 -0800
Subject: [PATCH] muxcollectpads.c: fixed typo in chain causing bpf (bytes per
 frame) to be set incorrectly in gst_audio_buffer_clip

---
 gstlal-ugly/gst/framecpp/muxcollectpads.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstlal-ugly/gst/framecpp/muxcollectpads.c b/gstlal-ugly/gst/framecpp/muxcollectpads.c
index d461a6c6fb..7012151739 100644
--- a/gstlal-ugly/gst/framecpp/muxcollectpads.c
+++ b/gstlal-ugly/gst/framecpp/muxcollectpads.c
@@ -117,7 +117,7 @@ static GstFlowReturn chain(GstPad *pad, GstObject *parent, GstBuffer *buffer)
 		if(collectpads->clip_to_segments) {
 			gint rate, bpf;
 			GST_DEBUG_OBJECT(pad, "clipping to [%" G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT ")", collectpads->segment.start, collectpads->segment.stop);
-			g_object_get(data->queue, "rate", &rate, "size", &bpf, NULL);
+			g_object_get(data->queue, "rate", &rate, "unit-size", &bpf, NULL);
 			buffer = gst_audio_buffer_clip(buffer, &collectpads->segment, rate, bpf);
 		}
 		if(buffer)
-- 
GitLab