Skip to content
Snippets Groups Projects
Commit 5e5aa47e authored by Rebecca Ewing's avatar Rebecca Ewing Committed by Rebecca Ewing
Browse files

gstlal-inspiral/bin/gstlal_inspiral: dont set state to null for online mode

parent 9ac06911
No related branches found
Tags allsky-o4a-online-v1.0.1
No related merge requests found
Pipeline #534720 passed with warnings
......@@ -1104,8 +1104,13 @@ for output_file_number, (svd_bank_url_dict, output_url, ranking_stat_output_url,
print("shutdown: del banks", flush=True, file=sys.stderr)
del banks
print("shutdown: Gstreamer set state to NULL", flush=True, file=sys.stderr)
stream.set_state(Gst.State.NULL)
# FIXME: error handling is broken and trying to
# set the state to NULL here for online data sources
# can sometimes cause the process to hang instead of
# exiting. So we'll just skip it for the online case
if not options.data_source in ("lvshm", "framexmit", "devshm"):
print("shutdown: Gstreamer set state to NULL", flush=True, file=sys.stderr)
stream.set_state(Gst.State.NULL)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment