From 96aab6d8a54b547f99eaedb587bb9e538b7121ba Mon Sep 17 00:00:00 2001 From: Brendan Long Date: Wed, 29 May 2013 10:15:36 -0600 Subject: [PATCH] playbin: Don't take an extra reference to the custom stream combiners They are automatically reffed when added to the bin because they're already not floating anymore. --- gst/playback/gstplaybin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index be0a3c1c07..8219f17bd0 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -2987,7 +2987,7 @@ pad_added_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group) /* no combiner, create one */ GST_DEBUG_OBJECT (playbin, "creating new input selector"); if (custom_combiner) - combine->combiner = gst_object_ref (custom_combiner); + combine->combiner = custom_combiner; else combine->combiner = gst_element_factory_make ("input-selector", NULL);