Commit 47d4bb90 authored by Olivier Crête's avatar Olivier Crête 👻 Committed by Tim-Philipp Müller
Browse files

rtpbin: Implement releasing of rtcp src pad

See #561752
parent 11607c4d
......@@ -2338,8 +2338,13 @@ pad_failed:
static void
remove_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session, GstPad * pad)
{
g_warning ("gstrtpbin: releasing pad %s:%s is not implemented",
GST_DEBUG_PAD_NAME (pad));
gst_pad_set_active (pad, FALSE);
gst_element_remove_pad (GST_ELEMENT (rtpbin), pad);
if (session->send_rtcp_src) {
gst_element_release_request_pad (session->session, session->send_rtcp_src);
session->send_rtcp_src = NULL;
}
}
/* If the requested name is NULL we should create a name with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment