<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; Which exactly state of transitions makes the srcpads on element<br>&gt; inactive ?
<br>&gt; Do I have to make them active by &quot;gst_pad_activate_push(pad, TRUE)&quot; ?<br>&gt;<br>Pads become active in the element READY-&gt;PAUSED state change and<br>inactive again in PAUSED-&gt;READY. The FLUSHING flag is set on the pad so
<br>that any push/pull on the pad will return GST_FLOW_WRONG_STATE.<br><br>gst_pad_set_active (pad, TRUE) is the function.</blockquote><div><br>Yes, I added the gst_pad_set_active() code in the corresponding transitions.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;gst_pad_push (srcpads[i], outbuf);
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; }<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The return value of _push should tell you about the reason for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; failure. You also need to pass this return value upstream<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (possibly
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; combining the return values of all pads).<br>&gt;<br>&gt; Yes, I using combined return. But this gst_pad_push never returns<br>&gt; after pushing, Infact the data is never pushed &amp; never received on the
<br>&gt; peer end. It just hangs.<br><br>If that is the case then I think the dataflow is just blocked in the<br>sink as the preroll buffer. Maybe you forget to add queues after the<br>srcpads to give all sinks a chance to receive a buffer?
</blockquote><div><br>Queue is  for the purpose of buffering ? Is there anyway we can make this work with using queue element ? <br>Cause, if I use the queue element in between my whole idea of connecting my_filters &amp; my_splitter plugins goes waste. 
<br><br></div>Thanks<br>./v<br></div><br>