aggregator: Always lock aggpad around update_time_level
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Wed, 2 Sep 2020 15:59:30 +0000 (17:59 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Jan 2023 02:40:04 +0000 (02:40 +0000)
commit1a4134434573ac330f587e5272df51c30cf9f202
tree5efd70d32b0e9f3fc00f2eb52dddfc9aa2d778c9
parentdb2b357791d83e406e64abf33bcfa4b3e05b3528
aggregator: Always lock aggpad around update_time_level

`aggpad->segment` is protected by the `aggpad`'s object lock. We need to
take the lock before calling `update_time_level`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3819>
subprojects/gstreamer/libs/gst/base/gstaggregator.c