[MOVED FROM GST-P-FARSIGHT] Release ref at the end of chain
authorOlivier Crete <olivier.crete@collabora.co.uk>
Fri, 4 Jul 2008 20:04:54 +0000 (20:04 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:40 +0000 (19:29 +0100)
20080704200454-3e2dc-386f2685882a74d01ce503f91396ea37506dbe83.gz

gst/siren/gstsirenenc.c

index 96ccdabedd69af67c9cbbcc2273690e5c5ee8c51..aedcb996c4992282ed2eec3b18bc20a2d026928a 100644 (file)
@@ -234,6 +234,8 @@ gst_siren_enc_chain (GstPad *pad, GstBuffer *buf)
 
   ret = gst_pad_push (enc->srcpad, encoded);
 
+  gst_object_unref (enc);
+
   return ret;
 }