From 62469f1155a7cdb74a38a9bd67d5d2a2da005646 Mon Sep 17 00:00:00 2001 From: Bernhard Jung Date: Mon, 1 Jul 2019 12:19:39 +0200 Subject: [PATCH] unref sinkpad also in mp version --- webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c b/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c index 32c9a08f72..d1d3561bdb 100644 --- a/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c +++ b/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c @@ -184,6 +184,7 @@ on_incoming_stream (GstElement * webrtc, GstPad * pad, GstElement * pipe) sinkpad = gst_element_get_static_pad (decodebin, "sink"); gst_pad_link (pad, sinkpad); + gst_object_unref (sinkpad); } static void