Skip to content
Snippets Groups Projects
Commit f46389b2 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_inspiral: seek the pipeline

parent befe1086
No related branches found
No related tags found
No related merge requests found
......@@ -754,6 +754,11 @@ for output_file_number, (svd_bank, output_filename, likelihood_namedtuple, zero_
signal.signal(signal.SIGTERM, OneTimeSignalHandler(pipeline))
if options.verbose:
print >>sys.stderr, "setting pipeline state to paused ..."
if pipeline.set_state(Gst.State.PAUSED) != Gst.StateChangeReturn.SUCCESS:
raise RuntimeError("pipeline did not enter paused state")
datasource.pipeline_seek_for_gps(pipeline, detectors.seg[0], detectors.seg[1])
if options.verbose:
print >>sys.stderr, "setting pipeline state to playing ..."
if pipeline.set_state(Gst.State.PLAYING) != Gst.StateChangeReturn.SUCCESS:
......
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