<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/05/2013 05:53 AM, rashmi wrote:<br>
</div>
<blockquote cite="mid:1378382038783-4661869.post@n4.nabble.com"
type="cite">
<pre wrap="">Okay!! Thanks..So I assume the memory for that pad is released by
gst_release_request_pad and I don't have to unref it again
using gst_object_unref()....right??</pre>
</blockquote>
When you need to know this kind of information, it's good to look at
the documentation (I just googled "gst_element_release_request_pad"
and clicked <a
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad">the
first link</a>). Here's what it says:<br>
<blockquote type="cite">This does not unref the pad. If the pad was
created by using
<a class="link"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-get-request-pad"
title="gst_element_get_request_pad ()"><code class="function">gst_element_get_request_pad()</code></a>,
<a class="link"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-release-request-pad"
title="gst_element_release_request_pad ()"><code
class="function">gst_element_release_request_pad()</code></a>
needs to be
followed by <a class="link"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html#gst-object-unref"
title="gst_object_unref ()"><code class="function">gst_object_unref()</code></a>
to free the <em class="parameter"><code>pad</code></em>.
</blockquote>
<br>
</body>
</html>