mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
4180581ce9
commit
96aab6d8a5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue