mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
d27e279272
As described in issue #200, we hold the srcpad's stream lock in some situations where we notify the `active-pad` property. If there's a handler installed it will most likely attempt to read the property, which had to take the `state` lock. Another thread could already be holding this lock and attempting to obtain the srcpad's stream lock. This resulted in a deadlock. To avoid this, move the `active_sinkpad` field into its own Mutex, which we never hold for long. Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/200 |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
LICENSE-MPL-2.0 |