<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Vinayak</b> <<a href="mailto:vinayak.pane@gmail.com">vinayak.pane@gmail.com</a>><br>Date: Feb 7, 2007 2:39 PM
<br>Subject: Re: [gst-devel] Why exactly we need "queue" element while connecting multiple srcpads ?<br>To: Stefan Kost <<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>><br><br></span>
hi,<br><br><div><span class="q"><span class="gmail_quote">On 2/7/07, <b class="gmail_sendername">Stefan Kost</b> <<a href="mailto:ensonic@hora-obscura.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ensonic@hora-obscura.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>Quoting Vinayak <<a href="mailto:vinayak.pane@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vinayak.pane@gmail.com</a>>:<br><br>> Hi,<br>> My query is, Why do we need a "queue" element in between when we want to
<br>> push data to multiple srcpads ?
<br>> Without connecting this element I just cant push my data to next peer<br>> plugin.<br>> Is there any workaround to avoid using queue ?<br>No. The queue is not only buffering, it provides a thread boundary and
<br>thus decouples the 1:n element from each uf the downstream chains. If<br>you don't use the queues, one slow sink could starve the whole<br>processing.</blockquote></span><div><br>True, queue creates thread boundary.
<br>
But how do I implement 1:n demuxer without using "queue". <br>With reference to design document, I could figure out what pads can be connected.<br>Push mode src pad should work with both loop and chain based. But when I push something to such srcpad nothing gets pushed and the function just hangs up. Is it waiting for some event/criteria which "queue" element only can satisfy?
<br><br>When does the gst-engine query to pad about the scheduling policy ? <br><br><br>Thanks,<br>./v<br></div></div>