summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-07-04 20:04:54 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:40 +0100
commit84a188ff7371ae6ffebe73dbd5bc08e0b9f7efc7 (patch)
treefa856e8210c09b28575fe8a6794da3c88f442237
parentba154411178fa4265417e80123802e4b616926e2 (diff)
downloadgst-plugins-bad-84a188ff7371ae6ffebe73dbd5bc08e0b9f7efc7.tar.gz
gst-plugins-bad-84a188ff7371ae6ffebe73dbd5bc08e0b9f7efc7.tar.bz2
gst-plugins-bad-84a188ff7371ae6ffebe73dbd5bc08e0b9f7efc7.zip
[MOVED FROM GST-P-FARSIGHT] Release ref at the end of chain
20080704200454-3e2dc-386f2685882a74d01ce503f91396ea37506dbe83.gz
-rw-r--r--gst/siren/gstsirenenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c
index 96ccdabe..aedcb996 100644
--- a/gst/siren/gstsirenenc.c
+++ b/gst/siren/gstsirenenc.c
@@ -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;
}