<div dir="ltr">Thanks for the answer. What will gst_pad_get_negotiated_caps() return for an element's source pad which is linked again to pipeline (after unlinking)?<div><div><br></div><div>Thanks,</div><div>Yogesh<br><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 24, 2015 at 1:38 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Mo, 2015-02-23 at 19:07 +0530, Yogesh Tyagi wrote:<br>
> Hi,<br>
><br>
> Can somebody please help me understand whether an element goes to all the<br>
> downward state changes(PLAYING to NULL) when I call gst_bin_remove to<br>
> remove that element from the pipeline?<br>
<br>
</span>It doesn't, the state stays the same.<br>
<span class=""><br>
> What happens to the source pads of the element it this case?<br>
<br>
</span>They are still there :) But if they were linked to something else, the<br>
source pads would be unlinked now.<br>
<div class=""><div class="h5"><br>
> I want to take deceision of adding a new source pad to this element<br>
> depeneding upon existance of the old source pad of this element before it<br>
> was unlinked from the pipeline.<br>
<br>
</div></div><span class=""><font color="#888888">--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
</font></span><br>_______________________________________________<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>
<br></blockquote></div><br></div></div></div></div>