mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/rtpmanager/gstrtpbin.c: Also unref the target pad for unknown pads.
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad): Also unref the target pad for unknown pads.
This commit is contained in:
parent
75580396d9
commit
c84ffd8460
1 changed files with 1 additions and 1 deletions
|
@ -2452,7 +2452,6 @@ gst_rtp_bin_release_pad (GstElement * element, GstPad * pad)
|
||||||
} else if (session->send_rtcp_src == target) {
|
} else if (session->send_rtcp_src == target) {
|
||||||
remove_rtcp (rtpbin, session, pad);
|
remove_rtcp (rtpbin, session, pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_RTP_BIN_UNLOCK (rtpbin);
|
GST_RTP_BIN_UNLOCK (rtpbin);
|
||||||
|
|
||||||
gst_object_unref (target);
|
gst_object_unref (target);
|
||||||
|
@ -2463,6 +2462,7 @@ gst_rtp_bin_release_pad (GstElement * element, GstPad * pad)
|
||||||
unknown_pad:
|
unknown_pad:
|
||||||
{
|
{
|
||||||
GST_RTP_BIN_UNLOCK (rtpbin);
|
GST_RTP_BIN_UNLOCK (rtpbin);
|
||||||
|
gst_object_unref (target);
|
||||||
g_warning ("gstrtpbin: %s:%s is not one of our request pads",
|
g_warning ("gstrtpbin: %s:%s is not one of our request pads",
|
||||||
GST_DEBUG_PAD_NAME (pad));
|
GST_DEBUG_PAD_NAME (pad));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue