diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2021-07-27 03:16:09 +0300 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2021-07-27 03:16:09 +0300 |
commit | 1123648aaea344dc9fff7c4418dfb5dbbbe3659a (patch) | |
tree | e34a2dd058187863a99c6f9888c4d121d621d6a0 /text | |
parent | 54d8c5f6a91bc2c428d577727d26a823cb126fb8 (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.rs | 2 |
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) } } |