gstreamer/subprojects/gst-plugins-bad/gst/switchbin
Carlos Rafael Giani cea5d19665 switchbin: Rework gst_switch_bin_get_allowed_caps() to limit path lock
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>
2024-02-08 18:33:29 +00:00
..
gstswitchbin.c switchbin: Rework gst_switch_bin_get_allowed_caps() to limit path lock 2024-02-08 18:33:29 +00:00
gstswitchbin.h
meson.build
plugin.c