<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>> Which exactly state of transitions makes the srcpads on element<br>> inactive ?
<br>> Do I have to make them active by "gst_pad_activate_push(pad, TRUE)" ?<br>><br>Pads become active in the element READY->PAUSED state change and<br>inactive again in PAUSED->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;">><br>> ><br>> > gst_pad_push (srcpads[i], outbuf);
<br>> > }<br>><br>> The return value of _push should tell you about the reason for<br>> the<br>> failure. You also need to pass this return value upstream<br>> (possibly
<br>> combining the return values of all pads).<br>><br>> Yes, I using combined return. But this gst_pad_push never returns<br>> after pushing, Infact the data is never pushed & never received on the
<br>> 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 & my_splitter plugins goes waste.
<br><br></div>Thanks<br>./v<br></div><br>