mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
rtpbin: fix leak of pad when a fec encoder and aux sender a created
The ghost sink pad retrieved by rtpbin from the aux sender was not freed when there was a previous element (fec encoder) in the chain. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1222>
This commit is contained in:
parent
47a4c74e9b
commit
8c35850f23
1 changed files with 1 additions and 0 deletions
|
@ -4842,6 +4842,7 @@ create_send_rtp (GstRtpBin * rtpbin, GstPadTemplate * templ, const gchar * name)
|
|||
if (ret != GST_PAD_LINK_OK) {
|
||||
goto aux_link_failed;
|
||||
}
|
||||
gst_object_unref (sinkpad);
|
||||
}
|
||||
prev = aux;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue