<div dir="ltr">Maybe I should go with sync state changes on all my pipelines?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-29 13:53 GMT+03:00 Krutskikh Ivan <span dir="ltr"><<a href="mailto:stein.hak@gmail.com" target="_blank">stein.hak@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I get a really annoying bug while using gstreamer on python. : <br><br><br>GStreamer-CRITICAL **:<br>июл 26 16:09:44 archive1 distributor.py[5954]: Trying to dispose element queue9, but it is in PLAYING instead of the NULL state.<br><br></div>And such for every element of the pipeline.<br><br></div>I use Gst.parse_launch for creating pipelines and <br><br> def message_handler(self,bus,message):<br> streamer = None<br> for s in self.job.streamers:<br> if s.get_bus() == bus:<br> streamer = s<br> <br> msgType = message.type<br> <br> if msgType == Gst.MessageType.ERROR or msgType == Gst.MessageType.EOS:<br> streamer.pipeline.set_state(Gst.State.NULL)<br> if streamer == self.job.streamers[0]:<br> if self.queue and not self.export_running:<br> self.finish()<br><br> if self.ping_test(self.host) == 0:<br> self.job.state = -2<br> else:<br> self.job.state = -1<br> self.recorder = None<br> <br> streamer = None<br><br></div>For message handling.<br><br>This is kind of urgent for me, what can I do to solve this?<br><br></div>Thanks in advance!<br><div><br><br></div></div>
</blockquote></div><br></div>