[gst-devel] BaseSrc problem!

Oscar Aceña oscaracena at yahoo.es
Tue Sep 12 21:56:56 CEST 2006


Stefan Kost escribió:
> Hi,
>
> Oscar Aceña wrote:
>   
>> Hi to all!
>> Before anything: great work!
>>
>> Well, I have a little problem with gst.BaseSrc in Python.
>>
>> I have made a class which inherits from BaseSrc. It reads data from
>> another source, a list, which can be empty sometimes. So, when i start the
>> app which uses my src, the pipe calls the do_create method of my src and
>> it returns data from this list. Well, this is easy. The problem arrives 
>> when the
>> list gets empty. If this happens, my method returns a gst.Buffer(None) 
>> (or a empty
>> buffer). The pipe receives it and call another time the do_create method.
>> When i have new data on the list, the do_create method sends it, but the
>> pipeline acts as if no data were sent.
>>
>> waht i'm doing wrong?
>>   
>>     
> Sounds like that should derive from
>  GstPushSrc then.
>   
Thanks for your time!
Well, i tried it but there is no difference. The result is the same.
>   
>> My main target is send data to a pipeline, which it should be accepted, 
>> but using
>> a variable rate, I mean, If there is no data available, i expect the 
>> pipeline ready when
>> the data became available.
>>   
>>     
> Ciao
>   
Bye!
>   Stefan
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>   


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com





More information about the gstreamer-devel mailing list