summaryrefslogtreecommitdiffstats
path: root/ext/jp2k
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-29 20:07:11 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-29 20:07:11 +0000
commitcf877b2d4f532c93076f8e302440ebf94017830e (patch)
treed735703f3e84c8c7689416a70effa4d677fbcc0e /ext/jp2k
parentcb6f639efb27edf2da979f7e280d31095eccf968 (diff)
downloadgst-plugins-bad-cf877b2d4f532c93076f8e302440ebf94017830e.tar.gz
gst-plugins-bad-cf877b2d4f532c93076f8e302440ebf94017830e.tar.bz2
gst-plugins-bad-cf877b2d4f532c93076f8e302440ebf94017830e.zip
ext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.
Original commit message from CVS: * ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps): Don't unref the element instance if we don't own a reference.
Diffstat (limited to 'ext/jp2k')
-rw-r--r--ext/jp2k/gstjasperdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/jp2k/gstjasperdec.c b/ext/jp2k/gstjasperdec.c
index 22d8a4ff..fb0b10a0 100644
--- a/ext/jp2k/gstjasperdec.c
+++ b/ext/jp2k/gstjasperdec.c
@@ -235,7 +235,6 @@ gst_jasper_dec_sink_setcaps (GstPad * pad, GstCaps * caps)
refuse_caps:
{
GST_WARNING_OBJECT (dec, "refused caps %" GST_PTR_FORMAT, caps);
- gst_object_unref (dec);
return FALSE;
}
}