Hi,<br>Thank you for your reply.<br>In this pipeline pull element is in middle.<br>I added activate_pull in pullreader plugin.<br>i am using chain function in pushreader plugin.<br>where should i use activate_push.<br><br>
Thanks<br>Nagaraju K<br><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 5:03 AM, pritesh kumar <span dir="ltr">&lt;<a href="mailto:pritesh.kumar2@gmail.com">pritesh.kumar2@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>hi ,</div>
<div>i cant predict the exact reason, but according to me the pipeline u r trying to implement is not correct approach.</div>
<div> </div>
<div>the pull elements should be most upstream , otherwise u have to handle the pad activation functions properly.  activate_push () , activate_pull().</div>
<div> </div>
<div> </div>
<div>Alternatively,</div>
<div> </div>
<div>the pipeline can be alsasrc  !  pushreader ! alsasink </div>
<div> </div>
<div>where the pushreader is  a push element .</div>
<div> </div>
<div>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.</div>
<div> </div>
<div> </div>
<div>let the push reader be a completey push element.</div>
<div> </div>
<div>or may be this approach alsasrc ! push reader ! queue ! alsasink </div>
<div> </div>
<div> </div>
<div>regards</div>
<div>antwan rockamora</div><div><div></div><div class="h5">
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> <br><br></div>
<div class="gmail_quote">On Tue, Jul 28, 2009 at 12:59 PM, raju03e <span dir="ltr">&lt;<a href="mailto:raju01e@gmail.com" target="_blank">raju01e@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>I am a newbee to gstreamer. I am trying to explore about push and pull based<br>
scheduling in gstreamer.<br>
<br>I wrote pushreader, pullreader plugins.<br><br>In pushreader - sink pad is exposed with chain function, src pad with<br>set_getrange function. In chain function whatever data got from alsasrc, I<br>stored that buffer into plugin internal buffer. Getrange function is using<br>

this internal buffer.<br><br>In pullreader – sink pad is exposed with getrange function, it tries to get<br>data from pushreader and push that data to alsasink.<br><br>Pipeline is alsasrc ! pushreader ! pullreader ! Alsasink<br>

<br>When I tried to execute the above pipeline, only getrange is scheduling,<br>Chain function is not scheduling.<br><br>Please help me to solve this problem.<br><br>Thanks<br>Nagaraju K<br>--<br>View this message in context: <a href="http://www.nabble.com/Scheduling-Problem-tp24693862p24693862.html" target="_blank">http://www.nabble.com/Scheduling-Problem-tp24693862p24693862.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br><br><br>------------------------------------------------------------------------------<br>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>

trial. Simplify your report design, integration and deployment - and focus on<br>what you do best, core application coding. Discover what&#39;s new with<br>Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>

_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>

</blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what&#39;s new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Nagaraju K<br>Software Engineer<br>Aricent Communications<br>9886490554<br>