mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 10:30:40 +00:00
threadshare: Fix a deadlock in used-socket notification
This manifests in a gst-launch-1.0 pipeline using ts-udpsrc, since notification of used-socket results in the property being read by the application, and the settings lock causes a deadlock. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1408>
This commit is contained in:
parent
9b1c9b1892
commit
1faef49b51
1 changed files with 2 additions and 0 deletions
|
@ -375,6 +375,8 @@ impl TaskImpl for UdpSrcTask {
|
|||
)
|
||||
})?;
|
||||
|
||||
drop(settings);
|
||||
|
||||
self.socket = Some(
|
||||
Socket::try_new(
|
||||
self.element.clone().upcast(),
|
||||
|
|
Loading…
Reference in a new issue