regex: don't hold state lock when pushing

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/533>
This commit is contained in:
Mathieu Duponchelle 2021-07-27 02:16:09 +02:00
parent 54d8c5f6a9
commit 1123648aae

View file

@ -113,6 +113,8 @@ impl RegEx {
);
}
drop(state);
self.srcpad.push(outbuf)
}
}