mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-19 07:35:46 +00:00
threadshare/udpsink: Don't hold settings lock while getting clients property
Otherwise we can deadlock between this and render().
This commit is contained in:
parent
e1784ea01b
commit
b8f9e0efc8
1 changed files with 2 additions and 0 deletions
|
@ -1380,6 +1380,8 @@ impl ObjectImpl for UdpSink {
|
|||
subclass::Property("ttl-mc", ..) => Ok(settings.ttl_mc.to_value()),
|
||||
subclass::Property("qos-dscp", ..) => Ok(settings.qos_dscp.to_value()),
|
||||
subclass::Property("clients", ..) => {
|
||||
drop(settings);
|
||||
|
||||
let clients: Vec<String> = self
|
||||
.sink_pad_handler
|
||||
.get_clients()
|
||||
|
|
Loading…
Reference in a new issue