<div dir="ltr">This is something you can actually test yourself. <div>The equivalent method in gstreamer 1.0 <font face="monospace, monospace">gst_pad_get_current_caps()</font> will return <font face="monospace, monospace">NULL</font>.<div><br></div><div>Cheers, </div><div>Sérgio<br><div class="gmail_extra"><br><div class="gmail_quote">2015-02-25 11:12 GMT+01:00 Yogesh Tyagi <span dir="ltr"><<a href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">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></div></div><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"><div><div class="h5"><span>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><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><div><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><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></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<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>