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

github.com/sdroege/gst-plugin-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
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-04-05 18:12:39 +0300
commit97bcab5da074e46c7bdb2e3e23432da5594c50d1 (patch)
tree1cbd9dd4569ac6b561e54b3c1f010ddf51795c29 /video
parent82bc045aba5e4bde42b235ce68a7525f09484a18 (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/1160>
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 5a94b287..f45f0c65 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,