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

Aulia Khamil selazer at gmail.com
Sat Jul 24 00:39:18 CEST 2010


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




More information about the gstreamer-devel mailing list