decodebin3: ensure recalculate_group_id() is called with INPUT lock
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Tue, 10 Jan 2023 10:19:12 +0000 (11:19 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 11 Jan 2023 18:37:05 +0000 (18:37 +0000)
commit22917b140ffac5208eff173321fa7cdad8976cca
tree437972b5ef07627756bd5678353ae9df0aefe6e9
parentcad0768191f31401e02e70f76b7f42cdf73bfb5f
decodebin3: ensure recalculate_group_id() is called with INPUT lock

This function uses main_input and current_group_id which are protected
by the input lock.
Some calls were already safe but not all.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3702>
subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c