[gst-devel] Scheduling Problem

kodam naga raju01e at gmail.com
Tue Jul 28 12:02:36 CEST 2009


Hi,
Thank you for your reply.
In this pipeline pull element is in middle.
I added activate_pull in pullreader plugin.
i am using chain function in pushreader plugin.
where should i use activate_push.

Thanks
Nagaraju K

On Tue, Jul 28, 2009 at 5:03 AM, pritesh kumar <pritesh.kumar2 at gmail.com>wrote:

> hi ,
> i cant predict the exact reason, but according to me the pipeline u r
> trying to implement is not correct approach.
>
> the pull elements should be most upstream , otherwise u have to handle the
> pad activation functions properly.  activate_push () , activate_pull().
>
>
> Alternatively,
>
> the pipeline can be alsasrc  !  pushreader ! alsasink
>
> where the pushreader is  a push element .
>
> whereas in push reader u can have async data queue , which will receive
> data from alsasrc and on a separate thread push data to alsasink.
>
>
> let the push reader be a completey push element.
>
> or may be this approach alsasrc ! push reader ! queue ! alsasink
>
>
> regards
> antwan rockamora
>
>
>
>
>
>
>
> On Tue, Jul 28, 2009 at 12:59 PM, raju03e <raju01e at gmail.com> wrote:
>
>>
>> Hi,
>>
>> I am a newbee to gstreamer. I am trying to explore about push and pull
>> based
>> scheduling in gstreamer.
>>
>> I wrote pushreader, pullreader plugins.
>>
>> In pushreader - sink pad is exposed with chain function, src pad with
>> set_getrange function. In chain function whatever data got from alsasrc, I
>> stored that buffer into plugin internal buffer. Getrange function is using
>> this internal buffer.
>>
>> In pullreader – sink pad is exposed with getrange function, it tries to
>> get
>> data from pushreader and push that data to alsasink.
>>
>> Pipeline is alsasrc ! pushreader ! pullreader ! Alsasink
>>
>> When I tried to execute the above pipeline, only getrange is scheduling,
>> Chain function is not scheduling.
>>
>> Please help me to solve this problem.
>>
>> Thanks
>> Nagaraju K
>> --
>> View this message in context:
>> http://www.nabble.com/Scheduling-Problem-tp24693862p24693862.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
Nagaraju K
Software Engineer
Aricent Communications
9886490554
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090728/0b362d4a/attachment.htm>


More information about the gstreamer-devel mailing list