uridecodebin3: Ensure atomic urisourcebin state change
authorEdward Hervey <edward@centricular.com>
Tue, 7 Mar 2023 10:40:42 +0000 (11:40 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 May 2023 13:53:06 +0000 (14:53 +0100)
commit0956b94184f2e0fad61a17620faac6259ff0da88
tree81db9d36c3ebb535c23babb92ea7182905035342
parentc95b7b8e7aa80276c0604dd3dd03eeda634f42b9
uridecodebin3: Ensure atomic urisourcebin state change

When dynamically adding and synchronizing the state of urisourcebin, we need to
ensure that no-one else attempts to change the state in case of failures

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1803

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