<HTML><HEAD><TITLE>gst_buffer_unref and pad push</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<P><FONT size=2> Hello Developers,<BR><BR> When a plugin does the gst_pad_push() of a buffer, the next plugin in the<BR> pipeline does the gst_buffer_unref() of that buffer in its chain().<BR><BR> What if gst_pad_push() fails .... in that case is the plugin sending the<BR> buffer has to unreference the buffer or is is done internally by Gstreamer ?<BR><BR> My understanding is it should be done by the plugin doing the pad_push() as<BR> it can be seen in many plugin codes.<BR><BR> But when I am doing as its mentioned above,<BR> I am getting the Gstreamer Warning: </FONT></P>
<P><FONT size=2>(<unknown>:1295): GStreamer-CRITICAL **:</FONT></P>
<P><FONT size=2>gst_mini_object_unref: assertion `mini_object->refcount > 0' failed<BR>which means , the reference count of the buffer is already 0. </FONT></P>
<P><FONT size=2>I am unable to understand the reason for above.</FONT></P>
<P><FONT size=2>Please help me to understand why am I getting the warning as such .</FONT></P>
<P><FONT size=2>Thanks in advance</FONT></P>
<P><FONT size=2>Ragards,</FONT></P>
<P><FONT size=2>Arnab </P>
<P><BR> </FONT> </P></BODY></HTML>