mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
Unref peer request pad after releasing it, since we hold a reference.
This commit is contained in:
parent
af8d3c51f0
commit
906502b9bb
1 changed files with 1 additions and 0 deletions
|
@ -1838,6 +1838,7 @@ pad_removed_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
|
|||
/* release the pad to the selector, this will make the selector choose a new
|
||||
* pad. */
|
||||
gst_element_release_request_pad (selector, peer);
|
||||
gst_object_unref (peer);
|
||||
|
||||
gst_object_unref (selector);
|
||||
GST_SOURCE_GROUP_UNLOCK (group);
|
||||
|
|
Loading…
Reference in a new issue