From 1f2bead4368507a906e3d64128bfef5a7f8ffb61 Mon Sep 17 00:00:00 2001
From: Kipp Cannon <kipp.cannon@ligo.org>
Date: Thu, 5 Oct 2017 22:44:06 +0900
Subject: [PATCH] lal_cachesrc start() not returning error codes

- the occurrence of an error in the start() method was not being reported to the calling code
---
 gstlal/gst/lal/gstlal_cachesrc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstlal/gst/lal/gstlal_cachesrc.c b/gstlal/gst/lal/gstlal_cachesrc.c
index 8d8daf32d0..2ead960d0e 100644
--- a/gstlal/gst/lal/gstlal_cachesrc.c
+++ b/gstlal/gst/lal/gstlal_cachesrc.c
@@ -493,7 +493,7 @@ done:
 	 * applications and I can't find any examples in gstreamer's own
 	 * code where an element calls this so ... !?  it's commented out */
 	/*gst_base_src_start_complete(basesrc, result ? GST_FLOW_OK : GST_FLOW_ERROR);*/
-	return TRUE;
+	return result;
 }
 
 
-- 
GitLab