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
path: root/video
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2023-03-25 01:35:10 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-04-05 18:15:26 +0300
commit1219c27fa44b112111edf6ce4412030a6d0623ee (patch)
treee069eddc7977e3463db956d8a89761d7d3710e28 /video
parentbd6b2e0fab19f56d4c2050f088a12bd3ebe1691d (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/1161>
Diffstat (limited to 'video')
-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 678d67a52..73f6fbd03 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,