mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-10 19:25:26 +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);
|
drop(s);
|
||||||
let mut settings = self.settings.lock().unwrap();
|
let mut settings = self.settings.lock().unwrap();
|
||||||
settings.passthrough = true;
|
settings.passthrough = true;
|
||||||
bin.notify("passthrough");
|
|
||||||
drop(settings);
|
drop(settings);
|
||||||
|
bin.notify("passthrough");
|
||||||
bin.call_async(move |bin| {
|
bin.call_async(move |bin| {
|
||||||
let thiz = bin.imp();
|
let thiz = bin.imp();
|
||||||
thiz.block_and_update(bin, true);
|
thiz.block_and_update(bin, true);
|
||||||
|
|
Loading…
Reference in a new issue