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

gstlal_inspiral: fixing one more 1.0 port issue

parent ac6c0cd2
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ class OneTimeSignalHandler(object):
try:
#FIXME how do I choose a timestamp?
self.pipeline.get_bus().post(inspiral.message_new_checkpoint(self.pipeline, timestamp=now().ns()))
if not self.pipeline.send_event(Gst.event_new_eos()):
if not self.pipeline.send_event(Gst.Event.new_eos()):
raise Exception("pipeline.send_event(EOS) returned failure")
except Exception as e:
print >>sys.stderr, "graceful shutdown failed: %s\naborting." % str(e)
......
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