mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playbin: Don't ref_sink() the sinks twice
Since we're already sunk floating reference, we shouldn't call ref_sink again, which increases the ref_count and cause leaks. https://bugzilla.gnome.org/show_bug.cgi?id=789547
This commit is contained in:
parent
5e373936bb
commit
2ec51ef998
1 changed files with 0 additions and 1 deletions
|
@ -4663,7 +4663,6 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
|
|||
gst_plugin_feature_get_name (GST_PLUGIN_FEATURE (ave->sink)));
|
||||
continue;
|
||||
}
|
||||
gst_object_ref_sink (*sinkp);
|
||||
created_sink = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue