[gst-devel] possible glimagesink bug - not thread safe?

Julien Isorce julien.isorce at gmail.com
Sun Jul 25 19:08:02 CEST 2010


2010/7/25 Aulia Khamil <selazer at gmail.com>

> I was running it on Windows Vista using latest GStreamer WinBuilds
> 0.10.6 (gstreamer-0.10.28, gst-plugins-base-0.10.28,
> gst-plugins-gl-0.10.1) and Python 2.6.4.
>

Same except for me this is winXP and gst-plugins-gl from git.
I am going to send you the binary file the latest gst-gl for testing, in a
separate email.
Julien


>
> As a temporary fix I replaced glimagesink with dshowvideosink - works fine.
>
> Regards,
> Aulia Khamil
>
> 2010/7/24 Julien Isorce <julien.isorce at gmail.com>:
> > Hi,
> >
> > Right now I can't test your exact example on linux I guess ?
> >
> > But I have tested this one on Windows with no problems:
> >
> > --------------------------------
> > import gobject
> > import pygst
> > pygst.require("0.10")
> > print dir(pygst)
> > import gst
> >
> > players = []
> > for i in range(10):
> >     players.append(gst.parse_launch("videotestsrc ! glimagesink"))
> >
> > for player in players:
> >     player.set_state(gst.STATE_PLAYING)
> >
> > gobject.MainLoop().run()
> > --------------------------------
> >
> > What's the exact version of your gstreamer (core/base/gl/python) ? Are
> you
> > building it from git or ?
> >
> > Julien
> >
> >
> > 2010/7/24 Aulia Khamil <selazer at gmail.com>
> >>
> >> Hello,
> >>
> >> Consider following Python code, which creates four simple pipelines at
> >> the same time:
> >>
> >> import wx
> >> import pygst
> >> pygst.require("0.10")
> >> import gst
> >>
> >> players = []
> >> for i in range(4):
> >>    players.append(gst.parse_launch("videotestsrc ! glimagesink"))
> >>
> >> for player in players:
> >>    player.set_state(gst.STATE_PLAYING)
> >>
> >> app = wx.App(redirect=False)
> >> frame = wx.Frame(None)
> >> frame.Show()
> >> app.MainLoop()
> >>
> >> This code crashes a lot with various errors:
> >> - 0xc0000005 exceptions
> >> - fatal flex scanner internal error--end of buffer missed
> >> - (python.exe:2788): GstGLShader-WARNING **: Fragment Shader
> >> compilation failed: ERROR: 0:1: 'float' : syntax error parse error
> >>
> >> Sometimes, however, it runs OK.
> >>
> >> To me it looks like some bug in glimagesink having something to do
> >> with thread safety. Anyone have any ideas what might be the cause of
> >> this strange behaviour and how to get rid of it?
> >>
> >> Regards,
> >> Aulia Khamil
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100725/d757d069/attachment.htm>


More information about the gstreamer-devel mailing list