Hi, <br><div><span class="gmail_quote">On 1/18/07, <b class="gmail_sendername">Ville Syrjälä</b> &lt;<a href="mailto:syrjala@sci.fi">syrjala@sci.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Jan 18, 2007 at 06:40:29PM +0530, Vinayak wrote:<br>&gt; Hi Everyone,<br>&gt; My gst-application gets stuck at gst_object_unref function which is called<br>&gt; after the main loop is over and<br>&gt; pipeline state is set to NULL. The call is made to destroy all the elements
<br>&gt; related to pipeline ? CMIMW.<br><br>Do you unref all elements or just the pipeline? When you add an element<br>to a bin, the bin becomes the owner of said element, so you must not<br>unref the element yourself. If you want to keep a reference for yourself
<br>you have to sink the element before adding it to a bin.</blockquote><div><br>I do unref only to pipeline, not all elements. The elements I am adding to bin contains&nbsp; &#39;my-filter&#39; (my own plugin). The plugin works alright and does the finalization part too. In gst-application Im just creating a pipeline, adding elements to it and then once the main loop is over I proceed further for setting state to NULL But the application does not come out of &quot;gst_unref_object(pipeline)&quot;
<br><br>-Vinayak<br></div><br></div>