mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
77bf0c945e
The element expects an array of "commands", as GstStructures, in the form: operation, pattern=<pattern>, ... The only operation implemented for now is replace-all, eg: replace-all, pattern=foo, replacement=bar Other operations can be implemented if useful in the future, eg. "match" could post a message to the bus when the pattern is encountered. The main use case for this is automatic speech recognition, as implemented by eg awstranscribe as users may want to replace swear words with tamer language. Commands are applied in order. The interface is usable through the CLI with the usual escaping strategies, though trying to pass in actual regular expressions through it is a bit tricky, as this introduces yet another level of escaping.
37 lines
617 B
TOML
37 lines
617 B
TOML
[workspace]
|
|
|
|
members = [
|
|
"tutorial",
|
|
"version-helper",
|
|
"audio/audiofx",
|
|
"audio/claxon",
|
|
"audio/csound",
|
|
"audio/lewton",
|
|
"generic/file",
|
|
"generic/sodium",
|
|
"generic/threadshare",
|
|
"net/reqwest",
|
|
"net/rusoto",
|
|
"utils/fallbackswitch",
|
|
"utils/togglerecord",
|
|
"video/cdg",
|
|
"video/closedcaption",
|
|
"video/dav1d",
|
|
"video/flavors",
|
|
"video/gif",
|
|
"video/rav1e",
|
|
"video/rspng",
|
|
"video/hsv",
|
|
"text/wrap",
|
|
"text/json",
|
|
"text/regex",
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 3
|
|
debug = true
|
|
panic = 'unwind'
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|