Gstreamer / Multithreading problem
klex0
alex at kordecki.de
Fri Oct 5 12:37:45 UTC 2018
Hello,
I use Gstreamer together with the Python Twisted Framework. There seems to
be a race condition when sending events in the pipeline.
With many parallel pipelines which I dynamically create and terminate, a
thread hangs reproducibly in the marked line. This seems to happen during a
context switch of a twisted thread within this line.
log.msg("TERM: gen EOS")
eos = Gst.Event.new_eos()
log.msg("TERM: send EOS")
self.pipeline.send_event(eos) <-- Here it hangs
log.msg("TERM: EOS sent to pipline")
Has anyone an idea about this ?
Regards,
alex
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list