rtpbasedepayload: remove object locking an extension
authorMatthew Waters <matthew@centricular.com>
Tue, 27 Jul 2021 07:44:02 +0000 (17:44 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 28 Jul 2021 04:16:58 +0000 (04:16 +0000)
commit32170aa6c2c46aed1a5795f62c6e458d448f65bb
tree3f8066f01a3a285d29892c694a665f9fb9f01a91
parent17cb6836158cc7e496c466482221d04a54db392e
rtpbasedepayload: remove object locking an extension

Doing that is fraught with danger of deadlocks and is not conceptually
part of the API contract.  The object lock is generally intended for
internal-object-use only.

If another lock is needed, that should be added separately.

This lock was erronously added as part of:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1118

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1233>
gst-libs/gst/rtp/gstrtpbasedepayload.c