mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 10:30:40 +00:00
transcriberbin: Don't notify signal inside lock
That can potentially cause deadlock
This commit is contained in:
parent
9e6fc2983f
commit
aac7e52d87
1 changed files with 1 additions and 1 deletions
|
@ -920,8 +920,8 @@ impl BinImpl for TranscriberBin {
|
|||
drop(s);
|
||||
let mut settings = self.settings.lock().unwrap();
|
||||
settings.passthrough = true;
|
||||
bin.notify("passthrough");
|
||||
drop(settings);
|
||||
bin.notify("passthrough");
|
||||
bin.call_async(move |bin| {
|
||||
let thiz = bin.imp();
|
||||
thiz.block_and_update(bin, true);
|
||||
|
|
Loading…
Reference in a new issue