mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31: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);
|
||||
}
|
||||
} else {
|
||||
drop(state);
|
||||
gst::element_imp_error!(
|
||||
self,
|
||||
gst::StreamError::Failed,
|
||||
|
|
Loading…
Reference in a new issue