sctp: Fix race of pad removal during reset/stop
authorDoug Nazar <nazard@nazar.ca>
Mon, 17 May 2021 13:13:28 +0000 (09:13 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 19 May 2021 05:49:48 +0000 (05:49 +0000)
commit5663db236f8b7c17cc7065a982ea81a86c9e2fe1
tree7b103e60e2f8a3107de619ca4387c3b3f1a6c4a7
parent4fcfd5b7f9dcde8d3888b58ab04f61d402896b7e
sctp: Fix race of pad removal during reset/stop

Both reset & stop remove existing pads. Can result in warning from
gst_element_remove_pad().

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2256>
ext/sctp/gstsctpdec.c