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"><<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>></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 <<a href="mailto:ved.kpl@gmail.com">ved.kpl@gmail.com</a>> wrote:<br>
> Did you implement the the appropriate activate_push () and<br>
> _activate_pull() functions?<br>
><br>
> On 7/28/09, raju03e <<a href="mailto:raju01e@gmail.com">raju01e@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I am a newbee to gstreamer. I am trying to explore about push and pull<br>
>> 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,<br>
>> I<br>
>> stored that buffer into plugin internal buffer. Getrange function is<br>
>> using<br>
>> this internal buffer.<br>
>><br>
>> In pullreader – sink pad is exposed with getrange function, it tries to<br>
>> 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:<br>
>> <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<br>
>> 30-Day<br>
>> trial. Simplify your report design, integration and deployment - and<br>
>> focus<br>
>> on<br>
>> what you do best, core application coding. Discover what'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>
><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'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>