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/text
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-15 23:57:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-15 23:58:44 +0300
commit6132788b02b38b5f0d0019f40a66a52e2d33177e (patch)
treee83ba65974bf4533ac6cb077cc65420cb08db036 /text
parent0c954135a34c16e62fa9a676c6ab165b2428a5f6 (diff)
Update for caps/structure-related string API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1048>
Diffstat (limited to 'text')
-rw-r--r--text/regex/src/gstregex/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/text/regex/src/gstregex/imp.rs b/text/regex/src/gstregex/imp.rs
index 39cfd7e8e..c09f251e3 100644
--- a/text/regex/src/gstregex/imp.rs
+++ b/text/regex/src/gstregex/imp.rs
@@ -202,7 +202,7 @@ impl ObjectImpl for RegEx {
}
};
- match operation {
+ match operation.as_str() {
"replace-all" | "replace_all" => {
let replacement = match s.get::<Option<String>>("replacement") {
Ok(Some(pattern)) => pattern,