[gst-devel] appsrc, random crash

Jan Martinek honza at dp.fce.vutbr.cz
Wed Aug 19 15:45:09 CEST 2009



On 08/19/2009 10:43 AM, Wim Taymans wrote:
> 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
>

Oh, thank you very much! It is exactly what I needed :-)

Jan Martinek




More information about the gstreamer-devel mailing list