mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-15 23:01:02 +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/1161>
This commit is contained in:
parent
bd6b2e0fab
commit
1219c27fa4
1 changed files with 1 additions and 0 deletions
|
@ -853,6 +853,7 @@ impl ElementImpl for TranscriberBin {
|
|||
self.setup_transcription(state);
|
||||
}
|
||||
} else {
|
||||
drop(state);
|
||||
gst::element_imp_error!(
|
||||
self,
|
||||
gst::StreamError::Failed,
|
||||
|
|
Loading…
Reference in a new issue