Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2023-03-25 01:35:10 +0300
committerMathieu Duponchelle <mathieu@centricular.com>2023-03-25 01:36:30 +0300
commit002e22510fbe9957ddb437bd0874795a72cd0da2 (patch)
tree51577570b939672fceaa8e4a9b67bf603119a62b /video/closedcaption
parent93f61483b56133e23721ec18c9569ce3af91bcbe (diff)
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>
Diffstat (limited to 'video/closedcaption')
-rw-r--r--video/closedcaption/src/transcriberbin/imp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs
index 997c94512..2b7096e8d 100644
--- a/video/closedcaption/src/transcriberbin/imp.rs
+++ b/video/closedcaption/src/transcriberbin/imp.rs
@@ -853,6 +853,7 @@ impl ElementImpl for TranscriberBin {
self.setup_transcription(state);
}
} else {
+ drop(state);
gst::element_imp_error!(
self,
gst::StreamError::Failed,