[gst-devel] appsrc, random crash

Wim Taymans wim.taymans at gmail.com
Wed Aug 19 10:43:01 CEST 2009


On Wed, 2009-08-19 at 09:47 +0200, Jan Martinek wrote:
> Hello,
> 
> I made a sinus wave generator (see attachment). It is interactive - 
> shows an (gtk) entry in which you can type the frequency which is to be 
> played.
> 
> It works, but after some time it crashes without any warning. Is there a 
> possibility to turn on some debugging messages?
> 
> I don't know what to suspect. Timings? Is GTK slow and some callback 
> takes too much time? Or, data computation takes too long time?
> When 'need-data' signal is emitted, how much time do I have to generate 
> new buffer before whole application crashes?

Do 

gobject.threads_init()

before importing gst.

Wim

> 
> Thank you,
> Jan Martinek
> 
> P.S. If you want to try the program, please install "scipy" package.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list