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.
This commit is contained in:
Brendan Long 2013-05-29 10:15:36 -06:00 committed by Sebastian Dröge
parent 4180581ce9
commit 96aab6d8a5

View file

@ -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);