mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
cea5d19665
Previously, the path lock was held even while issuing caps queries to other elements. This can lead to deadlocks in more complex pipelines. Avoid this by reworking gst_switch_bin_get_allowed_caps() to acquire references to switchbin paths and then releasing the path lock. Subsequent operations in that function then act on the acquired references, thus eliminating the need for holding the path lock for the entirety of that function. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4632> |
||
---|---|---|
.. | ||
gstswitchbin.c | ||
gstswitchbin.h | ||
meson.build | ||
plugin.c |