Hi,<br><br>how the pullreader tries to get data from the push reader and push it<br>
downstream?... There should be a loop running on its sink pad to do so<br>
(by doing a get_range upstream )<br><br>yes, in pullreader sinkpad have the pull_range  function <br>which will call pushreader set_getrange function. <br>Loop function is running on pullreader sinkpad.<br><br>Is the get_range from alsasink, (I m not sure though because, normally<br>

the upstream elements push data to alsasink)  proxied to the push<br>
reader?<br>
<br>No, get_range from pullreader.<br>In loop function, i am  pushing data to alsasink using pad_push.<br><br>Thanks<br>Nagaraju K<br><br>On Tue, Jul 28, 2009 at 5:23 AM, ved kpl <span dir="ltr">&lt;<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>&gt;</span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">how the pullreader tries to get data from the push reader and push it<br>

downstream?... There should be a loop running on its sink pad to do so<br>
(by doing a get_range upstream )<br>
Is the get_range from alsasink, (I m not sure though because, normally<br>
the upstream elements push data to alsasink)  proxied to the push<br>
reader?<br>
<div><div></div><div class="h5"><br>
On 7/28/09, ved kpl &lt;<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>&gt; wrote:<br>
&gt; Did you implement the the appropriate activate_push () and<br>
&gt; _activate_pull() functions?<br>
&gt;<br>
&gt; On 7/28/09, raju03e &lt;<a href="mailto:raju01e@gmail.com">raju01e@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I am a newbee to gstreamer. I am trying to explore about push and pull<br>
&gt;&gt; based<br>
&gt;&gt; scheduling in gstreamer.<br>
&gt;&gt;<br>
&gt;&gt; I wrote pushreader, pullreader plugins.<br>
&gt;&gt;<br>
&gt;&gt; In pushreader - sink pad is exposed with chain function, src pad with<br>
&gt;&gt; set_getrange function. In chain function whatever data got from alsasrc,<br>
&gt;&gt; I<br>
&gt;&gt; stored that buffer into plugin internal buffer. Getrange function is<br>
&gt;&gt; using<br>
&gt;&gt; this internal buffer.<br>
&gt;&gt;<br>
&gt;&gt; In pullreader – sink pad is exposed with getrange function, it tries to<br>
&gt;&gt; get<br>
&gt;&gt; data from pushreader and push that data to alsasink.<br>
&gt;&gt;<br>
&gt;&gt; Pipeline is alsasrc ! pushreader ! pullreader ! Alsasink<br>
&gt;&gt;<br>
&gt;&gt; When I tried to execute the above pipeline, only getrange is scheduling,<br>
&gt;&gt; Chain function is not scheduling.<br>
&gt;&gt;<br>
&gt;&gt; Please help me to solve this problem.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; Nagaraju K<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://www.nabble.com/Scheduling-Problem-tp24693862p24693862.html" target="_blank">http://www.nabble.com/Scheduling-Problem-tp24693862p24693862.html</a><br>
&gt;&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>
&gt;&gt; 30-Day<br>
&gt;&gt; trial. Simplify your report design, integration and deployment - and<br>
&gt;&gt; focus<br>
&gt;&gt; on<br>
&gt;&gt; what you do best, core application coding. Discover what&#39;s new with<br>
&gt;&gt; Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;&gt;<br>
&gt;<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">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nagaraju K<br>Software Engineer<br>Aricent Communications<br>9886490554<br>