mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
transcriberbin: fix deadlock on construction error
Don't post an error message on the bus while holding the state lock Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1148>
This commit is contained in:
parent
93f61483b5
commit
002e22510f
1 changed files with 1 additions and 0 deletions
|
@ -853,6 +853,7 @@ impl ElementImpl for TranscriberBin {
|
||||||
self.setup_transcription(state);
|
self.setup_transcription(state);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
drop(state);
|
||||||
gst::element_imp_error!(
|
gst::element_imp_error!(
|
||||||
self,
|
self,
|
||||||
gst::StreamError::Failed,
|
gst::StreamError::Failed,
|
||||||
|
|
Loading…
Reference in a new issue