gst-plugins-rs/utils
Jan Alexander Steffens (heftig) d27e279272
fallbackswitch: Move active_sinkpad out of State into its own Mutex
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
2022-05-12 16:52:07 +02:00
..
fallbackswitch fallbackswitch: Move active_sinkpad out of State into its own Mutex 2022-05-12 16:52:07 +02:00
togglerecord Update minimum supported GStreamer version to 1.14 2022-04-07 12:41:54 +03:00
uriplaylistbin uriplaylistbin: fix number of streaming items 2022-04-22 14:50:42 +02:00