summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-11-23 11:20:49 +0200
committerMatthew Waters <matthew@centricular.com>2016-11-23 21:44:36 +1100
commit1b574eddf789a59aff11ee0b6eb3fe1af288ff06 (patch)
treeece4202a27dbbb6cfc697bf7bb00b870f07b6b44
parentaf7f70e60e364b551c2589dee5fb458a83fa0e7e (diff)
downloadgstreamer-plugins-good-1b574eddf789a59aff11ee0b6eb3fe1af288ff06.tar.gz
flxdec: Don't unref() parent in the chain function
We don't own the reference here, it is owned by the caller and given to us for the scope of this function. Leftover mistake from 0.10 porting. https://bugzilla.gnome.org/show_bug.cgi?id=774897
-rw-r--r--gst/flx/gstflxdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c
index e675c99b4..a23797600 100644
--- a/gst/flx/gstflxdec.c
+++ b/gst/flx/gstflxdec.c
@@ -677,7 +677,6 @@ wrong_type:
{
GST_ELEMENT_ERROR (flxdec, STREAM, WRONG_TYPE, (NULL),
("not a flx file (type %x)", flxh->type));
- gst_object_unref (flxdec);
return GST_FLOW_ERROR;
}
}