<br><br><div class="gmail_quote">2010/7/25 Aulia Khamil <span dir="ltr"><<a href="mailto:selazer@gmail.com">selazer@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I was running it on Windows Vista using latest GStreamer WinBuilds<br>
0.10.6 (gstreamer-0.10.28, gst-plugins-base-0.10.28,<br>
gst-plugins-gl-0.10.1) and Python 2.6.4.<br></blockquote><div><br>Same except for me this is winXP and gst-plugins-gl from git.<br>I am going to send you the binary file the latest gst-gl for testing, in a separate email.<br>
Julien<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
As a temporary fix I replaced glimagesink with dshowvideosink - works fine.<br>
<br>
Regards,<br>
Aulia Khamil<br>
<br>
2010/7/24 Julien Isorce <<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> Right now I can'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("0.10")<br>
> print dir(pygst)<br>
> import gst<br>
><br>
> players = []<br>
> for i in range(10):<br>
> players.append(gst.parse_launch("videotestsrc ! glimagesink"))<br>
><br>
> for player in players:<br>
> player.set_state(gst.STATE_PLAYING)<br>
><br>
> gobject.MainLoop().run()<br>
> --------------------------------<br>
><br>
> What's the exact version of your gstreamer (core/base/gl/python) ? Are you<br>
> building it from git or ?<br>
><br>
> Julien<br>
><br>
><br>
> 2010/7/24 Aulia Khamil <<a href="mailto:selazer@gmail.com">selazer@gmail.com</a>><br>
>><br>
>> 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("0.10")<br>
>> import gst<br>
>><br>
>> players = []<br>
>> for i in range(4):<br>
>> players.append(gst.parse_launch("videotestsrc ! glimagesink"))<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: 'float' : 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>
</div></div></blockquote></div><br>