diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-01-15 23:57:14 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-01-15 23:58:44 +0300 |
commit | 6132788b02b38b5f0d0019f40a66a52e2d33177e (patch) | |
tree | e83ba65974bf4533ac6cb077cc65420cb08db036 /text | |
parent | 0c954135a34c16e62fa9a676c6ab165b2428a5f6 (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.rs | 2 |
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, |