[gst-devel] Segfault in gstreamer
Luca Ognibene
luogni at tin.it
Sun Jul 2 19:35:46 CEST 2006
Il giorno dom, 02/07/2006 alle 17.35 +0200, Oscar Acena ha scritto:
> Hello to all!
>
> And thanks for your great work. I think that gstreamer is very usefull,
> so i use it. But, i have found some thing that returns me an error. The
> thing is that i'm writting an application in python which inherits from
> gst.BaseSrc. In the main function (do_create, or do_render if it is a
> Sink), i need to see if a variable is empty or not. If is empty, i must
> wait for it to be not empty and then return. The problem is that i use
> sleep (or select) in this loop. Here is my problem: when i call sleep,
> it crashes. I do not have any idea for this behaviour!
I think you need to call: gobject.threads_init ()
just after "import gobject". I had the same problem some time ago :)
ciao
Luca
More information about the gstreamer-devel
mailing list