Hi,<br><br>Right now I can&#39;t test your exact example on linux I guess ?<br><br>But I have tested this one on Windows with no problems:<br><br>--------------------------------<br>import gobject<br>import pygst<br>pygst.require(&quot;0.10&quot;)<br>
print dir(pygst)<br>import gst<br><br>players = []<br>for i in range(10):<br>    players.append(gst.parse_launch(&quot;videotestsrc ! glimagesink&quot;))<br><br>for player in players:<br>    player.set_state(gst.STATE_PLAYING)<br>
<br>gobject.MainLoop().run()<br>--------------------------------<br><br>What&#39;s the exact version of your gstreamer (core/base/gl/python) ? Are you building it from git or ?<br><br>Julien<br><br><br><div class="gmail_quote">
2010/7/24 Aulia Khamil <span dir="ltr">&lt;<a href="mailto:selazer@gmail.com">selazer@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
Consider following Python code, which creates four simple pipelines at<br>
the same time:<br>
<br>
import wx<br>
import pygst<br>
pygst.require(&quot;0.10&quot;)<br>
import gst<br>
<br>
players = []<br>
for i in range(4):<br>
    players.append(gst.parse_launch(&quot;videotestsrc ! glimagesink&quot;))<br>
<br>
for player in players:<br>
    player.set_state(gst.STATE_PLAYING)<br>
<br>
app = wx.App(redirect=False)<br>
frame = wx.Frame(None)<br>
frame.Show()<br>
app.MainLoop()<br>
<br>
This code crashes a lot with various errors:<br>
- 0xc0000005 exceptions<br>
- fatal flex scanner internal error--end of buffer missed<br>
- (python.exe:2788): GstGLShader-WARNING **: Fragment Shader<br>
compilation failed: ERROR: 0:1: &#39;float&#39; : syntax error parse error<br>
<br>
Sometimes, however, it runs OK.<br>
<br>
To me it looks like some bug in glimagesink having something to do<br>
with thread safety. Anyone have any ideas what might be the cause of<br>
this strange behaviour and how to get rid of it?<br>
<br>
Regards,<br>
Aulia Khamil<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>