summaryrefslogtreecommitdiffstats
path: root/ext/jp2k
diff options
context:
space:
mode:
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;
}
}