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/text
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2021-07-27 03:16:09 +0300
committerMathieu Duponchelle <mathieu@centricular.com>2021-07-27 03:16:09 +0300
commit1123648aaea344dc9fff7c4418dfb5dbbbe3659a (patch)
treee34a2dd058187863a99c6f9888c4d121d621d6a0 /text
parent54d8c5f6a91bc2c428d577727d26a823cb126fb8 (diff)
regex: don't hold state lock when pushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/533>
Diffstat (limited to 'text')
-rw-r--r--text/regex/src/gstregex/imp.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs
index 88e45b3d..cd8fa66c 100644
--- a/text/regex/src/gstregex/imp.rs
+++ b/text/regex/src/gstregex/imp.rs
@@ -113,6 +113,8 @@ impl RegEx {
);
}
+ drop(state);
+
self.srcpad.push(outbuf)
}
}