You can just block the two pads between which you want to add new elements, create new element, link, change state and unblock the previously blocked  pads.<br><br><div class="gmail_quote">On Thu, Sep 8, 2011 at 6:40 PM, nidhi <span dir="ltr">&lt;<a href="mailto:shreenidhinb@gmail.com">shreenidhinb@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Absolutely right. Changing to READY STATE did the trick.<br>
Thank you.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-add-elements-to-running-pipeline-tp3596139p3798758.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-to-add-elements-to-running-pipeline-tp3596139p3798758.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>