webrtcbin: Take PC lock around all entry points
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 31 Mar 2021 15:56:10 +0000 (11:56 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 12 Apr 2021 22:37:27 +0000 (18:37 -0400)
commit913383166b675c9d46d892d19075c6fcfe094789
tree57152c8aa5a3ef25a5526b9f6c2a15675a21a38d
parent572c2b6783559ec998f84d5505100ef2583f9be4
webrtcbin: Take PC lock around all entry points

All of those action signals change the internal state, so
protect it by using the PC_LOCK

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2104>
ext/webrtc/gstwebrtcbin.c