From 15f13fea63d8e1949f0c45e52894b946784400b1 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Wed, 17 Nov 2021 17:08:54 +0900 Subject: [PATCH 1/1] fixup! webrtcbin: Remove transceiver from array when releasing pad Change-Id: Idd611bc2f66adf24abc51ae0ef0b000adbe8f48c Signed-off-by: Sangchul Lee --- ext/webrtc/gstwebrtcbin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 76f6c44..1d2fe90 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -641,7 +641,9 @@ _remove_pad (GstWebRTCBin * webrtc, GstWebRTCBinPad * pad) gst_element_remove_pad (GST_ELEMENT (webrtc), GST_PAD (pad)); #ifdef __TIZEN__ + GST_OBJECT_LOCK (webrtc); webrtc->priv->max_sink_pad_serial--; + GST_OBJECT_UNLOCK (webrtc); #endif } -- 2.7.4